Re: determining when a database was created
| От | Somasekhar Bangalore |
|---|---|
| Тема | Re: determining when a database was created |
| Дата | |
| Msg-id | BF493B193A334743AA9EF48945E69C137CF332@exchange.india.zensutra.com обсуждение исходный текст |
| Ответ на | determining when a database was created (Ian Lipsky <postgres@merk.caltech.edu>) |
| Ответы |
Re: determining when a database was created
Re: determining when a database was created |
| Список | pgsql-admin |
Hi All,
Is there a tool , where in i can convert data from postgres 7.3.2 to oracle 9i.
thanks in advance
som
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, June 01, 2004 7:17 AM
To: Ian Lipsky
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] determining when a database was created
"Ian Lipsky" <postgres@merk.caltech.edu> writes:
> How can i determine which directory contains the database files? there
> are a few databases.
The database directory names correspond to the OID column of
pg_database. So:
SELECT datname, oid from pg_database;
(BTW, this is likely to change in 7.5 if tablespaces get done.)
See also the contrib/oid2name tool.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
В списке pgsql-admin по дате отправления: