Re: Q on requirement to connect to a specific DB

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: kynn(at)panix(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Q on requirement to connect to a specific DB
Date: 2006-05-15 00:40:57
Message-ID: 4467CE19.1010300@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

kynn(at)panix(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2006-05-15 01:31:28 Re: Q on requirement to connect to a specific DB
Previous Message kynn 2006-05-14 19:41:01 Q on requirement to connect to a specific DB