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

From Dave Page
Subject Re: [PATCHES] default database creation with initdb
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E490E5BA@ratbert.vale-housing.co.uk
Whole thread Raw
Responses Re: [PATCHES] default database creation with initdb
Re: [PATCHES] default database creation with initdb
List pgsql-hackers

> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 20 June 2005 14:19
> To: Andrew Dunstan
> Cc: Dave Page; Andreas Pflug; Robert Treat; Magnus Hagander;
> pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] [PATCHES] default database creation
> with initdb
>
> 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.

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 :-)

Regards, Dave.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] default database creation with initdb
Next
From: Rohit Gaddi
Date:
Subject: query plan ignoring check constraints