Skip site navigation (1) Skip section navigation (2)

Re: fix schema ownership on first connection preliminary

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix schema ownership on first connection preliminary
Date: 2004-08-16 04:37:18
Message-ID: 200408160437.i7G4bIl16636@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Added to TODO:
	
	* Set proper permissions on non-system schemas during db creation
	
	  Currently all schemas are owned by the super-user because they are
	  copied from the template1 database.


---------------------------------------------------------------------------

Fabien COELHO wrote:
> 
> Dear Bruce,
> 
> > Is there a TODO here?
> 
> I think yes. I would suggest an open entry like:
> 
> . decide what a "database owner" is expected to be able do (esp. wrt acls)
>   on non-system schema, e.g. "public", and then implement it.
>   - should the database owner own the "public" schema by default?
>   - what about other non-system schemas?
>   - what about other objects?
> 
> ISTM that it reflects that although the "what" is unclear, there is an
> issue somewhere;-)
> 
> -- 
> Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>       message can get through to the mailing list cleanly
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2004-08-16 05:38:42
Subject: Re: plpgsql NULL statement (was Re: [GENERAL] Postgres 8.0 -> BEGIN EXCEPTION END Syntax????)
Previous:From: Tom LaneDate: 2004-08-16 04:12:21
Subject: plpgsql NULL statement (was Re: [GENERAL] Postgres 8.0 -> BEGIN EXCEPTION END Syntax????)

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-08-16 15:44:31
Subject: Re: [BUGS] 8.0: Absolute path required for INITDB?
Previous:From: Bruce MomjianDate: 2004-08-16 03:42:38
Subject: Re: 8.0: Absolute path required for INITDB?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group