Global constants

From: "Mihai Gheorghiu" <tanethq(at)earthlink(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Global constants
Date: 2001-09-20 20:58:04
Message-ID: 000501c14216$fc5001a0$6e646464@New6.Travel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Denis Perchine 2001-09-20 21:08:19 Re: Recreating indices safely
Previous Message Marshall Spight 2001-09-20 20:17:34 Re: How to make a REALLY FAST db server?