Thread: Default database patch

Default database patch

From
"Dave Page"
Date:
The attached patch modifies initdb to create a default database called
'postgres' when the cluster is initialised. Documentation updates are
included, including updates to relevant examples to encourage users to
use this database in place of template1. I have not modified utilities
like createuser however - this is to ensure there are no dependencies on
the postgres database within the server itself, thus giving users with
limited disk space the option of removing the postgres database if
required.

Please apply for 8.1.

Regards, Dave

Attachment

Re: Default database patch

From
"Dave Page"
Date:
Attached is an updated version of this patch which /does/ update
utilities to use the postgres database by default, per comments on
-hackers.

Regards, Dave

> -----Original Message-----
> From: pgsql-patches-owner@postgresql.org
> [mailto:pgsql-patches-owner@postgresql.org] On Behalf Of Dave Page
> Sent: 20 June 2005 13:07
> To: PostgreSQL-patches
> Subject: [PATCHES] Default database patch
>
> The attached patch modifies initdb to create a default database called
> 'postgres' when the cluster is initialised. Documentation updates are
> included, including updates to relevant examples to encourage users to
> use this database in place of template1. I have not modified utilities
> like createuser however - this is to ensure there are no
> dependencies on
> the postgres database within the server itself, thus giving users with
> limited disk space the option of removing the postgres database if
> required.
>
> Please apply for 8.1.
>
> Regards, Dave
>

Attachment