Re: [PATCHES] default database creation with initdb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Robert Treat" <xzilla(at)users(dot)sourceforge(dot)net>, "Magnus Hagander" <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] default database creation with initdb
Date: 2005-06-21 00:37:37
Message-ID: 609.1119314257@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Dave Page" <dpage(at)vale-housing(dot)co(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-06-21 01:09:48 Re: query plan ignoring check constraints
Previous Message John Hansen 2005-06-20 23:46:50 Re: query plan ignoring check constraints