Re: Truncate Permission

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: nicky(at)chuckie(dot)co(dot)uk, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Truncate Permission
Date: 2007-06-13 14:54:01
Message-ID: 20070613145401.GZ7531@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> "Nicholas Barr" <nicky(at)chuckie(dot)co(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2007-06-13 14:54:21 Re: [HACKERS] Avoiding legal email signatures
Previous Message Andrew Dunstan 2007-06-13 14:49:18 Re: EXPLAIN omits schema?