pgsql: Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT r

Started by Tom Laneover 15 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8ad58279fa75636b776e4c648e1ffc7079a2c7d9

Modified Files
--------------
doc/src/sgml/ref/insert.sgml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)