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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

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