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: Add ruleutils support for decompiling MERGE commands.
Date: Sun, 07 May 2023 15:01:25 +0000
Message-ID: <E1pvft7-000wgP-BG@gemulon.postgresql.org> (raw)

Add ruleutils support for decompiling MERGE commands.

This was overlooked when MERGE was added, but it's essential
support for MERGE in new-style SQL functions.

Alvaro Herrera

Discussion: https://postgr.es/m/3579737.1683293801@sss.pgh.pa.us

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f200b9695fde037ec5c182871339a02e98abecdd

Modified Files
--------------
src/backend/utils/adt/ruleutils.c   | 128 ++++++++++++++++++++++++++++++++++++
src/test/regress/expected/rules.out |  85 ++++++++++++++++++++++++
src/test/regress/sql/rules.sql      |  49 ++++++++++++++
3 files changed, 262 insertions(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1pvft7-000wgP-BG@gemulon.postgresql.org>
Permalink:  ../E1pvft7-000wgP-BG@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pvft7-000wgP-BG@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: Add ruleutils support for decompiling MERGE commands.
  In-Reply-To: <E1pvft7-000wgP-BG@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