"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.
regards, tom lane