postgres@xxxxxxxxxx wrote: > Hi, > > Is it possible to set a custom session variable and/or global variable in > plpgsql ? No. You can create a temporary or non-temporary table and select from that. -- Bruce Momjian http://candle.pha.pa.us SRA OSS, Inc. http://www.sraoss.com + If your life is a hard drive, Christ can be your backup. +