Re: Name -> number ... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Name -> number ...
Date
Msg-id 200104141852.OAA25222@candle.pha.pa.us
Whole thread Raw
In response to Name -> number ...  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
> 
> d'oh, should  have extended my query ...
> 
> select oid,* from pg_database;
> 
> gives the directory name ...
> 

Interesting to not that reffilenode is for tables, but oid is for
databases.  I hadn't realized that distinction until you asked.  You
can't rename databases, so the oid is OK for this.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Chris Bowlby
Date:
Subject: 7.1 RPMS...
Next
From: Peter Eisentraut
Date:
Subject: Re: Re: 7.1 RPMs