From: Dean Rasheed Date: Thu, 4 Sep 2025 14:57:18 +0000 (+0100) Subject: Fix compiler error introduced by 5386bfb9c1f. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea65c882384c36f184bd8a1e8046f93ec0b7576d;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 cf3867842c9..5d6410480cd 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -1134,7 +1134,7 @@ CheckValidResultRelNew(ResultRelInfo *resultRelInfo, CmdType operation, void CheckValidResultRel(ResultRelInfo *resultRelInfo, CmdType operation) { - return CheckValidResultRelNew(resultRelInfo, operation, ONCONFLICT_NONE); + CheckValidResultRelNew(resultRelInfo, operation, ONCONFLICT_NONE); } /*