On Fri, Mar 02, 2007 at 01:53:28PM -0600, Adam Rich wrote: > > Is there any way to define custom variables per session scope? You can have them in PL/Perl(U), PL/Tcl(U) and PL/PythonU and other such PLs, and you can create SQL accessors for them. Cheers, D -- David Fetter <david@xxxxxxxxxx> http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! Consider donating to PostgreSQL: http://www.postgresql.org/about/donate