Fix compiler error introduced by 5386bfb9c1f.
authorDean Rasheed <[email protected]>
Thu, 4 Sep 2025 14:57:18 +0000 (15:57 +0100)
committerDean Rasheed <[email protected]>
Thu, 4 Sep 2025 14:57:18 +0000 (15:57 +0100)
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

src/backend/executor/execMain.c

index cf3867842c99857515ddce2dadc5577cefb31cdf..5d6410480cd924bf87dbf1a5d860542914d9d6ee 100644 (file)
@@ -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);
 }
 
 /*