From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ian FREISLICH <if@hetzner.co.za>
Cc: pgsql-admin@postgresql.org
Subject: Re: Schema authorization after create database.
Date: Thu, 11 Aug 2005 10:08:59 -0400
Message-ID: <21954.1123769339@sss.pgh.pa.us> (raw)
In-Reply-To: <E1E39Rt-0004F3-5l@hetzner.co.za>
References: <E1E39Rt-0004F3-5l@hetzner.co.za>
Ian FREISLICH <if@hetzner.co.za> writes:
> I ran into this little astonishment yesterday on 7.4.8. When I
> create a database connected as the super user using:
> CREATE DATABASE foo OWNER = foo;
> The database is indeed owned by user foo, but the automatically
> created public schema is is owned by the database super user. Should
> this schema not be created as owned by the database owner specified
> in the CREATE DATABASE command?
That's the way it's supposed to work. CREATE DATABASE does not change
anything inside the copied database.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, if@hetzner.co.za
Subject: Re: Schema authorization after create database.
In-Reply-To: <21954.1123769339@sss.pgh.pa.us>
References: <E1E39Rt-0004F3-5l@hetzner.co.za> <21954.1123769339@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox