Unix Technical Forum

Retrieving the keys in an index

This is a discussion on Retrieving the keys in an index within the pgsql Novice forums, part of the PostgreSQL category; --> I'd like to know if it's possible to get either of the following two things from psql as a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 11:10 PM
Alex Rasmussen
 
Posts: n/a
Default Retrieving the keys in an index

I'd like to know if it's possible to get either of the following two
things from psql as a relation:

1. a list of all the b-trees applying to a table or tables in a given
database
2. given the name of one of the aforementioned b-trees, a list of all
keys currently being used in the index.

If anyone could point me in the right direction, I'd be very
appreciative.

--Alex
--
Alex Rasmussen
alex.c.rasmussen@gmail.com
http://www.alexras.info/



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com