Re: [GENERAL] Global constants

2001-09-20 Thread Keary Suska
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

Re: [GENERAL] Global constants

2001-09-20 Thread Peter Eisentraut
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)---

[GENERAL] Global constants

2001-09-20 Thread Mihai Gheorghiu
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