Re: How to correlate an index relname to it's table

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: How to correlate an index relname to it's table
Дата
Msg-id 20071120095406.1d5f8611@commandprompt.com
обсуждение исходный текст
Ответ на How to correlate an index relname to it's table  (Kevin Kempter <kevin@kevinkempterllc.com>)
Список pgsql-admin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 20 Nov 2007 10:48:18 -0700
Kevin Kempter <kevin@kevinkempterllc.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-----

В списке pgsql-admin по дате отправления:

Предыдущее
От: Kevin Kempter
Дата:
Сообщение: How to correlate an index relname to it's table
Следующее
От: Kazufumi Arai
Дата:
Сообщение: Someone let me get instruction to remove service of postgreSQL database server