Bruce Momjian <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html