Re: patch for type privileges - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: patch for type privileges
Date
Msg-id 1322774042.23181.11.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: patch for type privileges  (Yeb Havinga <yebhavinga@gmail.com>)
Responses Re: patch for type privileges
List 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 by date:

Previous
From: Jim Buttafuoco
Date:
Subject: Re: Postgresql 9.1 replication failing
Next
From: Peter Eisentraut
Date:
Subject: Re: patch for type privileges