Re: [PATCHES] default database creation with initdb - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] default database creation with initdb
Date
Msg-id 609.1119314257@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] default database creation with initdb  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers
"Dave Page" <dpage@vale-housing.co.uk> writes:
>> I don't see that much of a problem with having createdb etc. hardwire
>> postgres instead of template1 as the db-to-connect-to. 

> OK, new patch posted to -patches that updates all the utilities as well.

I'm going to apply this this evening (ie, before any of the code drifts
under it) unless I hear squawks in the next hour or so, or find some
fatal problem while reviewing.

> The only change I didn't make was in line 3458 (in StartChildProcess) of
> postmaster.c - template1 seemed the more sensible option to leave there.
> Let me know if you disagree and I'll change it :-)

Will look at it.  I'm sure there are a few references that *should* be
template1 ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "John Hansen"
Date:
Subject: Re: query plan ignoring check constraints
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: query plan ignoring check constraints