Skip to content

Commit 0cf3d41

Browse files
committed
Fix use of uninitialized value in previous commit.
Per buildfarm member akepa and others. Back-patch to v16 and v15. Discussion: https://postgr.es/m/20240924224352.93.nmisch@google.com
1 parent 5c837f8 commit 0cf3d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/executor/nodeModifyTable.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2827,7 +2827,7 @@ ExecMergeMatched(ModifyTableContext *context, ResultRelInfo *resultRelInfo,
28272827
* If there are no WHEN MATCHED actions, we are done.
28282828
*/
28292829
if (resultRelInfo->ri_matchedMergeAction == NIL)
2830-
goto out;
2830+
return no_further_action;
28312831

28322832
/*
28332833
* Make tuple and any needed join variables available to ExecQual and

0 commit comments

Comments
 (0)