Re: [HACKERS] Table permissions problem

From: jwieck(at)debis(dot)com (Jan Wieck)
To: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
Cc: maillist(at)candle(dot)pha(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Table permissions problem
Date: 1998-08-13 13:42:49
Message-ID: m0z6xeV-000EBPC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Especially system tables (pg_database, pg_shadow!, ...).

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1998-08-13 13:54:32 Re: [HACKERS] Table permissions problem
Previous Message The Hermit Hacker 1998-08-13 12:53:15 Re: [HACKERS] Latest ecpg patch?