--- On Tue, 3/23/10, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > Yeah --- that SELECT will result in no change to the > variables, ie, > they'll still be NULL. So the OVERLAPS always fails. Tom & Andreas, I thank you for your help. Renaming the variables solved the problem. :-) Regards, Tuo -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general