Re: Q on requirement to connect to a specific DB - Mailing list pgsql-novice

From Sean Davis
Subject Re: Q on requirement to connect to a specific DB
Date
Msg-id 4467CE19.1010300@mail.nih.gov
Whole thread Raw
In response to Q on requirement to connect to a specific DB  (<kynn@panix.com>)
List pgsql-novice
kynn@panix.com wrote:
> As far as I understand, one always has to connect to a specific
> database even when what one wants to do does not have anything to do
> with any existing database.  For example, suppose I just want to
> create a new database.  As far as I know I must connect to *some*
> database, whose role is irrelevant, just so that I can execute "CREATE
> DATABASE ..."  from that connection.

You can also use the createdb program.

Sean

pgsql-novice by date:

Previous
From:
Date:
Subject: Q on requirement to connect to a specific DB
Next
From: Tom Lane
Date:
Subject: Re: Q on requirement to connect to a specific DB