Re: determining when a database was created

From: "Somasekhar Bangalore" <sbangalore(at)zensutra(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: determining when a database was created
Date: 2004-06-01 04:27:54
Message-ID: BF493B193A334743AA9EF48945E69C137CF332@exchange.india.zensutra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, June 01, 2004 7:17 AM
To: Ian Lipsky
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] determining when a database was created

"Ian Lipsky" <postgres(at)merk(dot)caltech(dot)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(at)postgresql(dot)org

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bret Busby 2004-06-01 05:14:55 Re: book for postgresql
Previous Message Tom Lane 2004-06-01 01:46:50 Re: determining when a database was created