]> granicus.if.org Git - postgresql/commit
Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT ref page.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Apr 2011 14:54:03 +0000 (10:54 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Apr 2011 14:54:03 +0000 (10:54 -0400)
commit8ad58279fa75636b776e4c648e1ffc7079a2c7d9
tree9b7fe23de05483070e8f5f7438f72483d43a10ae
parentb6bc481d5540a3ad0d39db1e9881e6bd52e54213
Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT ref page.

Per a discussion with Gavin Flower.  This barely scratches the surface
of potential WITH (something RETURNING) use cases, of course, but it's
one of the simplest compelling examples I can think of.
doc/src/sgml/ref/insert.sgml