Re: How to find the link between a table and her indexes?? - Mailing list pgsql-admin

From Tom Lane
Subject Re: How to find the link between a table and her indexes??
Date
Msg-id 10793.1193149536@sss.pgh.pa.us
Whole thread Raw
In response to How to find the link between a table and her indexes??  ("Patrick De Zlio" <pchemla01@gmail.com>)
List pgsql-admin
"Patrick De Zlio" <pchemla01@gmail.com> writes:
> The relfilenode is 16542. Looking this relfilenode in the pg_index table as
> indrelid:
> select * from pg_index where indrelid = 16542

The key is OID, not relfilenode.  See the system catalog documentation.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: postmaster.pid
Next
From: "Suresh Gupta VG"
Date:
Subject: Re: Postgresql takes more time to update