Re: Optional postgres database not so optional in 8.1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Optional postgres database not so optional in 8.1
Date
Msg-id 25898.1132238772@sss.pgh.pa.us
Whole thread Raw
In response to Optional postgres database not so optional in 8.1  ("John Hansen" <john@geeknet.com.au>)
List pgsql-hackers
"John Hansen" <john@geeknet.com.au> writes:
> Maybe it should fallback to template1 if the postgres database doesn't
> exist?

[ shrug... ]  template1 can be dropped, too.  More to the point, if
they fall back to connecting to template1, then we lose the very thing
we wanted to gain, which is that there aren't transient connections to
template1 that might draw CREATE DATABASE's ire.

None of these programs are essential -- you can always do "psql mydb"
and then execute the operations from within mydb -- so I don't see a
pressing need to complicate them to deal with nonstandard environments.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: MERGE vs REPLACE
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Optional postgres database not so optional in 8.1