Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Justin Yao <justin(at)snooth(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3
Date: 2008-09-25 15:02:45
Message-ID: 7003.1222354965@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Justin Yao <justin(at)snooth(dot)com> writes:
> In PostgreSQL 7.x, I can use SQL:
> select datname, oid from pg_database
> to find out the numeric directory name under $PGDATA/base for each
> database. But it doesn't work for PostgreSQL 8.3.

It works for me ... what problem are you having?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Mielke 2008-09-25 15:10:44 Re: PostgreSQL future ideas
Previous Message Tom Lane 2008-09-25 15:01:08 Re: group by error message?