Re: patch for type privileges

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: patch for type privileges
Дата
Msg-id 1322774042.23181.11.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: patch for type privileges  (Yeb Havinga <yebhavinga@gmail.com>)
Ответы Re: patch for type privileges  (Yeb Havinga <yebhavinga@gmail.com>)
Список pgsql-hackers
On tor, 2011-12-01 at 14:37 +0100, Yeb Havinga wrote:
> On 2011-11-29 18:47, Peter Eisentraut wrote:
> > On tis, 2011-11-29 at 07:07 +0200, Peter Eisentraut wrote:
> >> On mån, 2011-11-28 at 11:41 +0100, Yeb Havinga wrote:
> >>> On 2011-11-15 21:50, Peter Eisentraut wrote:
> >>>> Patch attached.
> >>> I cannot get the patch to apply, this is the output of patch -p1
> >>> --dry-run on HEAD.
> >> I need to remerge it against concurrent range type activity.
> > New patch attached.
> 
> I'm looking at your patch. One thing that puzzled me for a while was 
> that I could not restrict access to base types (either built-in or user 
> defined). Is this intentional?

Works for me:

=# create user foo;
=# revoke usage on type int8 from public;
=# \c - foo
=> create table test1 (a int4, b int8);
ERROR:  permission denied for type bigint




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

Предыдущее
От: Jim Buttafuoco
Дата:
Сообщение: Re: Postgresql 9.1 replication failing
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: patch for type privileges