Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT ref page.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8ad58279fa75636b776e4c648e1ffc7079a2c7d9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-04-08T14:54:03Z
Releases: 9.1.0
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.

Files

PathChange+/−
doc/src/sgml/ref/insert.sgml modified +14 −0