Re: fix schema ownership on first connection preliminary - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: fix schema ownership on first connection preliminary
Date
Msg-id 200408160437.i7G4bIl16636@candle.pha.pa.us
Whole thread Raw
In response to Re: fix schema ownership on first connection preliminary  (Fabien COELHO <coelho@cri.ensmp.fr>)
List 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@cri.ensmp.fr
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>

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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Win32 fix for pg_dumpall
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] 8.0: Absolute path required for INITDB?