pgsql: Fix EvalPlanQual rechecking during MERGE.

2023-09-30 Thread Dean Rasheed
Fix EvalPlanQual rechecking during MERGE. Under some circumstances, concurrent MERGE operations could lead to inconsistent results, that varied according the plan chosen. This was caused by a lack of rowmarks on the source relation, which meant that EvalPlanQual rechecking was not guaranteed to

pgsql: Fix EvalPlanQual rechecking during MERGE.

2023-09-30 Thread Dean Rasheed
Fix EvalPlanQual rechecking during MERGE. Under some circumstances, concurrent MERGE operations could lead to inconsistent results, that varied according the plan chosen. This was caused by a lack of rowmarks on the source relation, which meant that EvalPlanQual rechecking was not guaranteed to

pgsql: Fix EvalPlanQual rechecking during MERGE.

2023-09-30 Thread Dean Rasheed
Fix EvalPlanQual rechecking during MERGE. Under some circumstances, concurrent MERGE operations could lead to inconsistent results, that varied according the plan chosen. This was caused by a lack of rowmarks on the source relation, which meant that EvalPlanQual rechecking was not guaranteed to