The function behaves as expected when in plain SQL, only plpgsql function has the above mentioned problem.
regards mk -- Sent via pgsql-sql mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql
