Re: Create a new database from JDBC?

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

Dave Page wrote:
>
>
> 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.
>
>

So there is no guaranteed way to do this, unless there is a known,
existing database? Seems like a shortcoming, to me. Would this be
considered as a feature request, or does the current design make it to
difficult to implement?

Dan

--
****************************
Daniel Armbrust
Biomedical Informatics
Mayo Clinic Rochester
daniel.armbrust(at)mayo.edu
http://informatics.mayo.edu/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2006-02-09 15:50:28 Re: What's faster?
Previous Message Shelby Cain 2006-02-09 15:04:07 Re: [ODBC] Problem using ODBC from .NET framework