Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3 - Mailing list pgsql-general

From Justin Yao
Subject Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3
Date
Msg-id 48DBA3A6.9020205@snooth.com
Whole thread Raw
In response to Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3  (Tino Wildenhain <tino@wildenhain.de>)
List pgsql-general
nothing special, just curious about it.
I suppose it should be able to be located by SQL.

Justin

Tino Wildenhain wrote:
> Hi,
>
> Justin Yao wrote:
>> Hi,
>>
>> 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.
>> Is there any way I can do it for 8.3?
>
> What would you do with that name once you have it?
>
> Tino


pgsql-general by date:

Previous
From: Tino Wildenhain
Date:
Subject: Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3
Next
From: Tom Lane
Date:
Subject: Re: group by error message?