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