raf <raf@xxxxxxx> wrote: > can anyone explain what i'm doing wrong in the attached example? Does it get better if you close that cursor within the function? -Kevin -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin