postgres.git / summary / log / commit / refs
commit a4624929dba3d6e5cef98a6cedd865320db2269c
Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Date: Thu Sep 04 14:59:02 2025 +0000
First released in: 13.23, 14.20, 15.15, 16.11, 17.7
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
src/backend/executor/execMain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
/*
[parent: 5481cc332b0f]