Re: MERGE lacks ruleutils.c decompiling support!?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2023-05-05T21:06:34Z
Lists: pgsql-hackers
Attachments
- 0001-add-ruleutils.c-support-for-MERGE-v2.patch (text/x-diff) patch v2-0001
Alvaro Herrera <alvherre@alvh.no-ip.org> writes: > Here's a first attempt. I mostly just copied code from the insert and > update support routines. There's a couple of things missing still, but > I'm not sure I'll get to it tonight. I only tested to the extent of > what's in the new regression test. I did a bit of review and more work on this: * Added the missing OVERRIDING support * Played around with the pretty-printing indentation * Improved test coverage, and moved the test to rules.sql where I thought it fit more naturally. I think we could probably commit this, though I've not tried it in v15 yet. regards, tom lane
Commits
-
Add ruleutils support for decompiling MERGE commands.
- f200b9695fde 15.3 landed
- 41e2c52fd6eb 16.0 landed