On 26 Sep 2009, at 19:57, Tom Lane wrote:
I think you want INSERT ... RETURNING ... INTO some-plpgsql-variable; regards, tom lane
On 26 Sep 2009, at 19:56, Adrian Klaver wrote:
See:http://www.postgresql.org/docs/8.4/interactive/plpgsql- statements.html#PLPGSQL-STATEMENTS-SQL-ONEROW-- Adrian Klaver akla...@comcast.net
Thankyou, that worked. Much appreciated. regards Iain