Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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)


Attachment: initdb-default.patch
Description: text/x-patch (1.3 KB)


pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group