Re: [HACKERS] Table permissions problem - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [HACKERS] Table permissions problem
Date
Msg-id m0z6wbP-00006FC@druid.net
Whole thread Raw
In response to Re: [HACKERS] Table permissions problem  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] Table permissions problem  (jwieck@debis.com (Jan Wieck))
Re: [HACKERS] Table permissions problem  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Thus spake Bruce Momjian
> > Hmm.  That makes it difficult.  I would like to build databases from
> > scripts.  I guess I can build them as the super user.
> >
> > Shouldn't the database owner have more privs then someone using the
> > database?  Is that what that TODO item is actually suggesting?
>
> Remember some tables are shared with all databases.  Makes things more
> difficult.

I didn't realize that.  I assume that you don't mean some system tables
as they could, I am sure, be special cased.  Can you expand?  I once
had a situation where a table in one database was trashed by being filled
with data from another table of the same name in another database.  Was
I bitten by this feature somehow?  At the same time I like the idea of
sharing tables.  It would be perfect for things like time zone and
province/state tables.

--
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] tuple return from function
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Latest ecpg patch?