I think you want INSERT ... RETURNING ... INTO some-plpgsql-variable; regards, tom lane
See:http://www.postgresql.org/docs/8.4/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-SQL-ONEROW
-- Adrian Klaveraklaver@comcast.net
--
Adrian Klaver
aklaver@comcast.net
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных