Re: How to find the link between a table and her indexes??

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Patrick De Zlio" <pchemla01(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to find the link between a table and her indexes??
Date: 2007-10-23 14:25:36
Message-ID: 10793.1193149536@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Patrick De Zlio" <pchemla01(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2007-10-23 18:51:01 Re: Partitioning and deadlocks
Previous Message Brad King 2007-10-23 14:19:01 Re: Partitioning and deadlocks