Re: [HACKERS] Table permissions problem

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Table permissions problem
Дата
Msg-id 199808131432.KAA17007@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Table permissions problem  (darcy@druid.net (D'Arcy J.M. Cain))
Ответы Re: [HACKERS] Table permissions problem
Список 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.

See pgsql/data/ and you will see the tables that are shared:

    pg_database
    pg_group
    pg_shadow
    pg_variable

Makes sense they have to be shared.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Re: type coersion (was OR clause status)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: type coersion (was OR clause status)