Re: Truncate Permission - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Truncate Permission
Date
Msg-id 20070613145401.GZ7531@tamriel.snowman.net
Whole thread Raw
In response to Re: Truncate Permission  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> "Nicholas Barr" <nicky@chuckie.co.uk> writes:
> > At the moment it seems as if a single 32 bit integer is used for the
> > permissions, with the top half being the grantable rights. I assume I
> > would need to extend this into two 32 bit integers, or one 64 bit integer?
>
> Two 32-bit please.  We are still trying not to depend on 64-bit
> arithmetic for any core functionality.

Agreed.  Also, most of the time you'll only be pulling in the first one
(for a permissions check).  The second would only ever be used when a
'GRANT' is done.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: EXPLAIN omits schema?
Next
From: Tom Lane
Date:
Subject: Re: Tom Lane's presentation on SERIALIZABLE etc?