Re: ALTER USER SET log_* not allowed...

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Andrew McMillan <andrew@catalyst.net.nz>, Sean Chittenden <sean@chittenden.org>, Peter Eisentraut <peter_e@gmx.net>, PGBugs List <pgsql-bugs@postgresql.org>
Date: 2004-11-10T18:19:38Z
Lists: pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Why not?  You can put whatever restrictions you like in such a function.

> I assume to do this in a function you would have to create a temp table
> to store the original setting?

Not at all.  You could use "RESET foo" to see what the "original" value
of foo was.

			regards, tom lane