Alain Roger wrote: > sorry... under pl/pgsql as stored procedure Then this question was already asked and answered less than a week ago on this mailing list. By you, with almost exactly the same subject line. Forgive my confusion, but why are you asking the same question again? What's changed since last time? What else do you need to know? -- Craig Ringer -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general