Re: CREATEDB Where ??

From: Doug McNaught <doug(at)wireboard(dot)com>
To: pmoscatt(at)bigpond(dot)net(dot)au
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CREATEDB Where ??
Date: 2001-08-20 15:03:01
Message-ID: m3snemlqoq.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Moscatt <pmoscatt(at)bigpond(dot)net(dot)au> writes:

> I am pretty new to PostgreSQL so please bare with me :-)
>
> When issuing the CREATEDB MyDb then creating some tables with CREATE
> TABLE, I then go back and do a search for the file I have just created
> (MyDb) but can't find the physical file.
>
> Does one actually exist ??

Yes, they're named by OID (integer) in $PGDATA rather than by database
name. There's a reason for this so don't complain about it. ;)

-Doug
--
Free Dmitry Sklyarov!
http://www.freesklyarov.org/

We will return to our regularly scheduled signature shortly.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-20 15:12:00 Re: Locale by default?
Previous Message Nicolas Verger 2001-08-20 13:55:45 Select parser at runtime ....