pgsql: Fix AFTER ROW trigger execution in MERGE cross-partition update.

2023-11-09 Thread Dean Rasheed
Fix AFTER ROW trigger execution in MERGE cross-partition update. When executing a MERGE UPDATE action, if the UPDATE is turned into a cross-partition DELETE then INSERT, do not attempt to invoke AFTER UPDATE ROW triggers, or any of the other post-update actions in ExecUpdateEpilogue(). For consis

pgsql: Fix AFTER ROW trigger execution in MERGE cross-partition update.

2023-11-09 Thread Dean Rasheed
Fix AFTER ROW trigger execution in MERGE cross-partition update. When executing a MERGE UPDATE action, if the UPDATE is turned into a cross-partition DELETE then INSERT, do not attempt to invoke AFTER UPDATE ROW triggers, or any of the other post-update actions in ExecUpdateEpilogue(). For consis

pgsql: Fix AFTER ROW trigger execution in MERGE cross-partition update.

2023-11-09 Thread Dean Rasheed
Fix AFTER ROW trigger execution in MERGE cross-partition update. When executing a MERGE UPDATE action, if the UPDATE is turned into a cross-partition DELETE then INSERT, do not attempt to invoke AFTER UPDATE ROW triggers, or any of the other post-update actions in ExecUpdateEpilogue(). For consis