gt;
> Date: Thu, 20 Sep 2001 16:58:04 -0400
> To: <[EMAIL PROTECTED]>
> Subject: [GENERAL] Global constants
>
> 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
Mihai Gheorghiu writes:
> Can there be anything like global constants in PG?
CREATE TABLE my_constant ( val integer );
INSERT INTO my_constant VALUES ( 1024 );
--
Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter
---(end of broadcast)---
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 fiel