Re: Truncate Permission

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Truncate Permission
Дата
Msg-id 20070613145401.GZ7531@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Truncate Permission  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: EXPLAIN omits schema?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Tom Lane's presentation on SERIALIZABLE etc?