From: Dean Rasheed Date: Thu, 4 Sep 2025 14:59:02 +0000 (+0100) Subject: Fix compiler error introduced by 5386bfb9c1f. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4624929dba3d6e5cef98a6cedd865320db2269c;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 9ed8cd35380..ed4ff0246ce 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -1157,7 +1157,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); } /*