Mar 2023

2 commits
Fix MERGE command tag for actions blocked by BEFORE ROW triggers.
13 Mar 2023Dean Rasheedmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3
LLM analysis, 99% surewritten from the discussion, no matching patch

Dean identified incorrect command counts for trigger-suppressed UPDATE/DELETE actions and explicitly deferred the fix in #6. The commit adds early returns in ExecMergeMatched() and regression checks for FOUND and ROW_COUNT, implementing that separate fix without a matching attached patchset.

Fix concurrent update issues with MERGE.
13 Mar 2023Dean Rasheedmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3Also in: BUG #17792: MERGE uses uninitialized pointer and crashes when target tuple is updated concurrently (not this thread)
LLM analysis, 76% surelanded as postedfrom patchset #60 of 1 reviewer saw the final version

The trigger.c and nodeModifyTable.c changes match the concurrency-result propagation described in #5 and ExecUpdateEpilogue() cleanup in #6, with landing confirmed in #7; missing final attachments prevent exact comparison. I disagree with the from_discussion attribution in thread #71719: its February 14 patchsets precede this thread's March 12 final submission, which describes the committed implementation, although that other thread contributed investigation of concurrent deletion.

  • Alvaro Herrerasaw an earlier versionLLM analysis, 97% sureAlvaro examined the callback design and recommended consolidating the projection code in #3, which Dean implemented in #4, before the substantial redesign in #5.

Credits across 2 commits

Committer
Dean Rasheed2