From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, Zhihong Yu <zyu(at)yugabyte(dot)com>, Daniel Westermann <dwe(at)dbi-services(dot)com>, Amit Langote <amitlangote09(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com> |
Cc: | Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com> |
Subject: | Re: support for MERGE |
Date: | 2021-11-15 22:44:21 |
Message-ID: | 202111152244.7ja4ihufwiqk@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Thanks everyone for the feedback. I attach a version with the fixes
that were submitted, as well as some additional changes:
- I removed the restriction for tables inheritance and added the sample
I showed to regression.
- I added DO NOTHING support to the WHERE MATCHED case; it previously
only covered WHERE NOT MATCHED.
I was thinking earlier that it may be possible to clean up the
parse_merge.c code by using another RangeTblRef to process the data
source RTE. Haven't tried yet.
This stuff is all in
https://github.com/alvherre/postgres/commits/merge-15
--
Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/
"Nunca confiaré en un traidor. Ni siquiera si el traidor lo he creado yo"
(Barón Vladimir Harkonnen)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2021-11-15 22:45:13 | Re: support for MERGE |
Previous Message | Justin Pryzby | 2021-11-15 22:38:56 | Re: Write visibility map during CLUSTER/VACUUM FULL |