Re: Name -> number ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Name -> number ...
Date: 2001-04-14 18:40:59
Message-ID: 15119.987273659@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The Hermit Hacker <scrappy(at)hub(dot)org> writes:
> 77 databases in data/base directory ... all number'd ...

> select * from pg_database;

> doesn't give me the reference to which directory is which database ... so
> what table do we need to join on to get this information?

select oid, datname from pg_database;

I think Bruce did a contrib utility to keep track of this, too.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2001-04-14 18:45:37 Re: Re: 7.1 RPMs
Previous Message Peter Eisentraut 2001-04-14 18:39:17 Re: Re: 7.1 RPMs