default database creation with initdb

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: default database creation with initdb
Date: 2005-06-18 08:42:02
Message-ID: 42B3DE5A.4060408@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

As per discussion on -hackers the attached patch creates the 'default'
database at initdb time as a default target for initial connections to
keep template1 free from connections and available as template source.

I consider this DB a system object, so it's created before
make_template0 sets the last_system_oid (wondering why template0 isn't
considered a system db too)

Regards,
Andreas

Attachment Content-Type Size
initdb-default.patch text/x-patch 1.3 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2005-06-18 08:49:14 Re: default database creation with initdb
Previous Message Mark Kirkwood 2005-06-17 23:22:49 TODO Item - Return compressed length of TOAST datatypes (WIP)