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: 42B3DE5A.4060408@pse-consulting.de (view raw or flat)
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: initdb-default.patch
Description: text/x-patch (1.3 KB)

Responses

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-2014 The PostgreSQL Global Development Group