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