Global constants - Mailing list pgsql-general

From Mihai Gheorghiu
Subject Global constants
Date
Msg-id 000501c14216$fc5001a0$6e646464@New6.Travel
Whole thread Raw
Responses Re: Global constants
Re: Global constants
List 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 by date:

Previous
From: Justin Clift
Date:
Subject: Re: Performance question (stripped down the problem)
Next
From: Denis Perchine
Date:
Subject: Re: Recreating indices safely