Global constants

Поиск
Список
Период
Сортировка
От Mihai Gheorghiu
Тема Global constants
Дата
Msg-id 000501c14216$fc5001a0$6e646464@New6.Travel
обсуждение исходный текст
Ответы Re: Global constants
Re: Global constants
Список pgsql-general
Can there be anything like global constants in PG? They should be seen by
any session.
E.g.:
User rights are defined as int4's, with each bit representing an area where
they have access. Testing this would be easier if I had constants like
ISACCOUNTING, which I AND with the data in the rights field. I'd like to
define ISACCOUNTING=1024 sometime in the beginning (at server startup?).
Thank you.



В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Performance question (stripped down the problem)
Следующее
От: Denis Perchine
Дата:
Сообщение: Re: Recreating indices safely