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

Re: Numeric file names

From: "Vadim Mikheev" <vmikheev(at)sectorbase(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Numeric file names
Date: 2000-10-28 22:44:04
Message-ID: 006001c04130$93d4b400$b97a30d0@sectorbase.com (view raw or flat)
Thread:
Lists: pgsql-hackers
> > Now that we have numeric file names, I would like to have a command I
> > can run from psql that will dump a mapping of numeric file name to table
> > name, i.e.,
> >
> > 121233 pg_proc
> > 143423 pg_index
>
> select oid, relname from pg_class;

No. select relfilenode, relname from pg_class - in theory relfilenode may
differ
from relation oid.

Vadim



In response to

pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 2000-10-29 01:17:54
Subject: Re: more multibyte/After TGL...
Previous:From: Vadim MikheevDate: 2000-10-28 22:39:58
Subject: Re: Proposal for DROP TABLE rollback mechanism

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