pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ian FREISLICH <if@hetzner.co.za>
Cc: pgsql-admin@postgresql.org
Subject: Re: Schema authorization after create database.
Date: Thu, 12 Aug 2004 13:04:58 +0200
Message-ID: <411B4EDA.1080308@mail.jct.ac.il> (raw)
In-Reply-To: <21954.1123769339@sss.pgh.pa.us>
References: <E1E39Rt-0004F3-5l@hetzner.co.za>
	<21954.1123769339@sss.pgh.pa.us>


Yep.But this is a little strange ,maybe we should ask to change it?
Evgeny.
Tom Lane wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster




view thread (4+ messages)  latest in thread

Message-ID: <411B4EDA.1080308@mail.jct.ac.il>
Permalink:  ../411B4EDA.1080308@mail.jct.ac.il/
Also on:    postgresql.org/message-id/411B4EDA.1080308@mail.jct.ac.il

 · 

reply

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: tsurkin@mail.jct.ac.il, tgl@sss.pgh.pa.us, if@hetzner.co.za
  Subject: Re: Schema authorization after create database.
  In-Reply-To: <411B4EDA.1080308@mail.jct.ac.il>
  References: <E1E39Rt-0004F3-5l@hetzner.co.za> <21954.1123769339@sss.pgh.pa.us> <411B4EDA.1080308@mail.jct.ac.il>

* 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