Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Scott MarloweDate: 2007-10-23 18:51:01
Subject: Re: Partitioning and deadlocks
Previous:From: Brad KingDate: 2007-10-23 14:19:01
Subject: Re: Partitioning and deadlocks

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group