Re: Schemas and template1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Schemas and template1
Date
Msg-id 5950.1023850677@sss.pgh.pa.us
Whole thread Raw
In response to Schemas and template1  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Schemas and template1  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> As part of createdb, the new database will have to have it's public
> schema changed to world-writable.

That ain't gonna happen, unfortunately.  CREATE DATABASE runs in some
database other than the target one, so it's essentially impossible for
the newly-created DB to contain any internal state that's different
from the template DB.  Next idea please?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Mac OS X shutdown
Next
From: Tom Lane
Date:
Subject: Re: Analyze on large changes...