-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 20 Nov 2007 10:48:18 -0700 Kevin Kempter <kevin@xxxxxxxxxxxxxxxxxxx> wrote: > Hi List; > > I've got an index name in pg_class and I want to figure out which > table it belongs to, any suggestions? > Well you can get the name from pg_indexes as well as the schemaname, tablename and indexname :) Sincerely, Joshua D. Drake > > Thanks in advance > > > /Kevin > > > ---------------------------(end of > broadcast)--------------------------- TIP 9: In versions below 8.0, > the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > - -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240 PostgreSQL solutions since 1997 http://www.commandprompt.com/ UNIQUE NOT NULL Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate PostgreSQL Replication: http://www.commandprompt.com/products/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHQx8+ATb/zqfZUUQRAsDAAJ9nLHGejnPjfkSkvFvuswsJaP44ygCfRjeV leWQAhiLAnKaO7Pzjjnx8ZA= =9HCE -----END PGP SIGNATURE----- ---------------------------(end of broadcast)---------------------------TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly