postgres.git / summary / log / commit / refs
commit ea65c882384c36f184bd8a1e8046f93ec0b7576d
Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Date: Thu Sep 04 14:57:18 2025 +0000
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 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);
}
/*
[parent: 5fd569ef2d62]