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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT r
Date: 2011-04-08 14:54:19
Message-ID: E1Q8D4l-0008Pn-4e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-04-08 15:36:15 pgsql: Avoid extra whitespace in the arguments of <indexterm>.
Previous Message User Mitsu-ko 2011-04-08 08:21:08 pgstatsinfo - pg_statsinfo: New Directory