From: Dean Rasheed Date: Thu, 4 Sep 2025 15:00:01 +0000 (+0100) Subject: Fix compiler error introduced by 5386bfb9c1f. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d37694b974322e2ddc1fd3829c8f3d6cd56f0483;p=thirdparty%2Fpostgresql.git Fix compiler error introduced by 5386bfb9c1f. Per buildfarm member wrasse, void function cannot return a value. This only affects v13-v17, where an ABI-compatible wrapper function was added. Backpatch-through: 13-17 --- diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 9209ec2dc53..7ec4d14f66b 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -1186,7 +1186,7 @@ CheckValidResultRelNew(ResultRelInfo *resultRelInfo, CmdType operation, void CheckValidResultRel(ResultRelInfo *resultRelInfo, CmdType operation) { - return CheckValidResultRelNew(resultRelInfo, operation, ONCONFLICT_NONE, NIL); + CheckValidResultRelNew(resultRelInfo, operation, ONCONFLICT_NONE, NIL); } /*