support for MERGE

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, amitlangote09(at)gmail(dot)com, Japin Li <japinli(at)hotmail(dot)com>, Zhihong Yu <zyu(at)yugabyte(dot)com>, simon(dot)riggs(at)enterprisedb(dot)co, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, dwe(at)dbi-services(dot)com, er(at)xs4all(dot)nl, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Andres Freund <andres(at)anarazel(dot)de>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: support for MERGE
Date: 2022-03-31 17:38:12
Message-ID: CAEudQAqTTAOzXiYybab+1DQOb3ZUuK99=p_KD+yrRFhcDbd0jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2022-Mar-28, Alvaro Herrera wrote:

>> I intend to get this pushed after lunch.

>Pushed, with one more change: fetching the tuple ID junk attribute in
>ExecMerge was not necessary, since we already had done that in
>ExecModifyTable. We just needed to pass that down to ExecMerge, and
>make sure to handle the case where there isn't one.
Hi,

I think that there is an oversight at 7103ebb
<https://github.com/postgres/postgres/commit/7103ebb7aae8ab8076b7e85f335ceb8fe799097c>
There is no chance of Assert preventing this bug.

regards,
Ranier Vilela

Attachment Content-Type Size
0001-avoid-dereference-null-map.patch application/octet-stream 549 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-03-31 17:50:07 Re: Removing more vacuumlazy.c special cases, relfrozenxid optimizations
Previous Message David G. Johnston 2022-03-31 17:35:55 Re: unlogged sequences