Re: determining when a database was created - Mailing list pgsql-admin

From Somasekhar Bangalore
Subject Re: determining when a database was created
Date
Msg-id BF493B193A334743AA9EF48945E69C137CF332@exchange.india.zensutra.com
Whole thread Raw
In response to determining when a database was created  (Ian Lipsky <postgres@merk.caltech.edu>)
Responses Re: determining when a database was created  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: determining when a database was created  (Gaetano Mendola <mendola@bigfoot.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: determining when a database was created
Next
From: Tom Lane
Date:
Subject: Re: determining when a database was created