Re: Details for planned template0/template1 change - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Details for planned template0/template1 change
Date
Msg-id 11975.974263714@sss.pgh.pa.us
Whole thread Raw
In response to Re: Details for planned template0/template1 change  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: Details for planned template0/template1 change
List pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
>> Given the present backend coding, all the DBs in an installation will
>> have the same lastsysoid as template0 anyway, barring manual
>> intervention.

> Not the way the current 'CREATE DATABASE' code works - remember the changes
> to set the OID at create time? AFAICT, that's still there.

Look again.  lastsysoid is now inherited from the database being cloned.

AFAICT all your subsequent comments are based on that
misunderstanding...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: Details for planned template0/template1 change
Next
From: Philip Warner
Date:
Subject: Re: Details for planned template0/template1 change