pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update MERGE docs to mention that ONLY is supported.
Date: Fri, 09 Dec 2022 10:05:27 +0000
Message-ID: <E1p3aFy-002ecm-7M@gemulon.postgresql.org> (raw)

Update MERGE docs to mention that ONLY is supported.

Commit 7103ebb7aa added support for MERGE, which included support for
inheritance hierarchies, but didn't document the fact that ONLY could
be specified before the source and/or target tables to exclude tables
inheriting from the tables specified.

Update merge.sgml to mention this, and while at it, add some
regression tests to cover it.

Dean Rasheed, reviewed by Nathan Bossart.

Backpatch to 15, where MERGE was added.

Discussion: https://postgr.es/m/CAEZATCU0XM-bJCvpJuVRU3UYNRqEBS6g4-zH%3Dj9Ye0caX8F6uQ%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5defdef8aa0535b8e9365ea9cceee60d5731395f

Modified Files
--------------
doc/src/sgml/ref/merge.sgml         | 19 +++++++++--
src/test/regress/expected/merge.out | 66 ++++++++++++++++++++++++++++++++++++-
src/test/regress/sql/merge.sql      | 34 +++++++++++++++++++
3 files changed, 115 insertions(+), 4 deletions(-)



view thread (2+ messages)

Message-ID: <E1p3aFy-002ecm-7M@gemulon.postgresql.org>
Permalink:  ../E1p3aFy-002ecm-7M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p3aFy-002ecm-7M@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dean.a.rasheed@gmail.com
  Subject: Re: pgsql: Update MERGE docs to mention that ONLY is supported.
  In-Reply-To: <E1p3aFy-002ecm-7M@gemulon.postgresql.org>
  References: <E1p3aFy-002ecm-7M@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