Lists: | pgsql-admin |
---|
From: | "Doron Baranes" <doron(dot)baranes(at)dbnet(dot)co(dot)il> |
---|---|
To: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | insert and returning |
Date: | 2006-12-04 11:57:04 |
Message-ID: | 0BA77301DFF4B24C9C5DAA74138BF95003C7AE@exchange-1.dbnet.co.il |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
Hi,
can someone help me with an example of how to use the returning clause of an insert
to return a column value from the row inserted?
10x
Doron
From: | "Milen A(dot) Radev" <milen(at)radev(dot)net> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: insert and returning |
Date: | 2006-12-04 12:12:58 |
Message-ID: | 457410CA.7020001@radev.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
Doron Baranes написа:
> Hi,
>
> can someone help me with an example of how to use the returning clause of an insert
> to return a column value from the row inserted?
>
Look at the bottom of this page -
http://developer.postgresql.org/pgdocs/postgres/sql-insert.html
OTOH this functionality is available only in v8.2 (as you could guess
from the URL), but that version should be released tomorrow.
--
Milen A. Radev