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

From Tino Wildenhain
Subject Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3
Date
Msg-id 48DBA2E9.9000800@wildenhain.de
Whole thread Raw
In response to how can I find out the numeric directory name of each database in PostgreSQL 8.3  (Justin Yao <justin@snooth.com>)
Responses Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3
List pgsql-general
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

Attachment

pgsql-general by date:

Previous
From: Justin Yao
Date:
Subject: how can I find out the numeric directory name of each database in PostgreSQL 8.3
Next
From: Justin Yao
Date:
Subject: Re: how can I find out the numeric directory name of each database in PostgreSQL 8.3