postgres.git / summary / log / commit / refs

commit    0cf3d41cbb425c142ca7b3f1e2efd875565b6142
Author:   Noah Misch <noah@leadboat.com>
Date:     Wed Sep 25 00:16:36 2024 +0000
First released in: 15.9, 16.5

    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


src/backend/executor/nodeModifyTable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index bcb46c8e781..56ef8815d2a 100644 --- a/src/backend/executor/nodeModifyTable.c +++ b/src/backend/executor/nodeModifyTable.c @@ -2827,7 +2827,7 @@ ExecMergeMatched(ModifyTableContext *context, ResultRelInfo *resultRelInfo, * If there are no WHEN MATCHED actions, we are done. */ if (resultRelInfo->ri_matchedMergeAction == NIL) - goto out; + return no_further_action; /* * Make tuple and any needed join variables available to ExecQual and [parent: 5c837f8fa022]