Re: MERGE lacks ruleutils.c decompiling support!? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: MERGE lacks ruleutils.c decompiling support!?
Date
Msg-id 20230505184338.mq2lcvbygiiujo3v@alvherre.pgsql
Whole thread Raw
In response to MERGE lacks ruleutils.c decompiling support!?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: MERGE lacks ruleutils.c decompiling support!?
List pgsql-hackers
On 2023-May-05, Tom Lane wrote:

> (I'd guess that decompiling the WHEN clause would take a nontrivial
> amount of new code, so maybe fixing it on such short notice is
> impractical.  But ugh.)

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.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
<Schwern> It does it in a really, really complicated way
<crab> why does it need to be complicated?
<Schwern> Because it's MakeMaker.

Attachment

pgsql-hackers by date:

Previous
From: MARK CALLAGHAN
Date:
Subject: benchmark results comparing versions 15.2 and 16
Next
From: David Zhang
Date:
Subject: Re: PGDOCS - Replica Identity quotes