pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
insert and returning
2+ messages / 2 participants
[nested] [flat]

* insert and returning
@ 2006-12-04 11:57 Doron Baranes <doron.baranes@dbnet.co.il>
  2006-12-04 12:12 ` Re: insert and returning Milen A. Radev <milen@radev.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Doron Baranes @ 2006-12-04 11:57 UTC (permalink / raw)
  To: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: insert and returning
  2006-12-04 11:57 insert and returning Doron Baranes <doron.baranes@dbnet.co.il>
@ 2006-12-04 12:12 ` Milen A. Radev <milen@radev.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Milen A. Radev @ 2006-12-04 12:12 UTC (permalink / raw)
  To: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-12-04 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-04 11:57 insert and returning Doron Baranes <doron.baranes@dbnet.co.il>
2006-12-04 12:12 ` Milen A. Radev <milen@radev.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox