Re: Create a new database from JDBC?

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Dan Armbrust <daniel(dot)armbrust(dot)list(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Create a new database from JDBC?
Date: 2006-02-08 20:59:43
Message-ID: C0100C3F.55B3%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/2/06 17:26, "Joshua D. Drake" <jd(at)commandprompt(dot)com> wrote:

>> Certainly not what I want, since that database doesn't exist. Is
>> there a system database I could always count on being available that I
>> could connect to?
>
> template1 but only if you allow it from pg_hba.conf.

The postgres database would be more appropriate on 8.1+ (it is specifically
inteded for that kind of thing), however like template1, it can be dropped,
though that isn't advisable without good reason.

Regards, Dave.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2006-02-08 21:42:42 Re: Is there a way to limit CPU usage per user
Previous Message Martijn van Oosterhout 2006-02-08 20:26:18 Re: B-tree performance improvements in 8.x