Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT ref page.
Tom 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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/insert.sgml | modified | +14 −0 |