Re: Schemas: status report, call for developers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Schemas: status report, call for developers
Дата
Msg-id 18643.1020377107@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Schemas: status report, call for developers  (Ian Barwick <barwick@gmx.de>)
Список pgsql-hackers
Ian Barwick <barwick@gmx.de> writes:
> i.e. user "joe" can see which objects exist in schema "foo2", even though
> he has no USAGE privilege. (Is this behaviour intended?)

It's open for debate I suppose.  Historically we have not worried about
preventing people from looking into the system tables, except for cases
such as pg_statistic where this might expose actual user data.

AFAICS we could only prevent this by making selective views on the
system tables and then prohibiting ordinary users from accessing the
underlying tables directly.  I'm not in a big hurry to do that myself,
if only for backward-compatibility reasons.

We still do have the option of separate databases, and I'd be inclined
to tell people to use those if they want airtight separation between
users.
        regards, tom lane


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

Предыдущее
От: Jason Earl
Дата:
Сообщение: Re: PostgreSQL mission statement?
Следующее
От: Mark kirkwood
Дата:
Сообщение: Re: PostgreSQL mission statement?