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
This commit is contained in:
Noah Misch 2024-09-24 17:16:36 -07:00
parent 51ff46de29
commit 90f5412a9a

View File

@ -2846,7 +2846,7 @@ ExecMergeMatched(ModifyTableContext *context, ResultRelInfo *resultRelInfo,
* If there are no WHEN MATCHED actions, we are done. * If there are no WHEN MATCHED actions, we are done.
*/ */
if (resultRelInfo->ri_matchedMergeAction == NIL) if (resultRelInfo->ri_matchedMergeAction == NIL)
goto out; return no_further_action;
/* /*
* Make tuple and any needed join variables available to ExecQual and * Make tuple and any needed join variables available to ExecQual and