pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: show how to get the equivalent of LIMIT for UPDATE/DELETE.
Date: Sun, 07 Apr 2024 20:26:54 +0000
Message-ID: <E1rtZ6M-0011B9-0A@gemulon.postgresql.org> (raw)

Doc: show how to get the equivalent of LIMIT for UPDATE/DELETE.

Add examples showing use of a CTE and a self-join to perform
partial UPDATEs and DELETEs.

Corey Huinker, reviewed by Laurenz Albe

Discussion: https://postgr.es/m/CADkLM=caNEQsUwPWnfi2jR4ix99E0EJM_3jtcE-YjnEQC7Rssw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2daeba6a4e49f2ac4cc202fc9352c2a59e928a6c

Modified Files
--------------
doc/src/sgml/ref/delete.sgml | 24 ++++++++++++++++++++++--
doc/src/sgml/ref/update.sgml | 40 +++++++++++++++++++++++++++++++++++++++-
2 files changed, 61 insertions(+), 3 deletions(-)



Message-ID: <E1rtZ6M-0011B9-0A@gemulon.postgresql.org>
Permalink:  ../E1rtZ6M-0011B9-0A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rtZ6M-0011B9-0A@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: show how to get the equivalent of LIMIT for UPDATE/DELETE.
  In-Reply-To: <E1rtZ6M-0011B9-0A@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox