From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | Kevin Kempter <kevin(at)kevinkempterllc(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: How to correlate an index relname to it's table |
Date: | 2007-11-20 17:54:06 |
Message-ID: | 20071120095406.1d5f8611@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 20 Nov 2007 10:48:18 -0700
Kevin Kempter <kevin(at)kevinkempterllc(dot)com> 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-----
From | Date | Subject | |
---|---|---|---|
Next Message | Kazufumi Arai | 2007-11-21 08:29:08 | Someone let me get instruction to remove service of postgreSQL database server |
Previous Message | Kevin Kempter | 2007-11-20 17:48:18 | How to correlate an index relname to it's table |