Обсуждение: pgsql: Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT r

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)