pgpool2.git / summary / log / commit / refs
commit 500c8c3a3da82dc3cd019207ed9daadfd74b92f8
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Fri Sep 18 21:17:58 2026 +0000
Fix compiler error.
The commit a7b899a16 "Fix premature Sync during extended-query
pipelines" introduced a compile error in Rocky Linux 8.
protocol/pool_proto_modules.c: In function 'ProcessFrontendResponse':
protocol/pool_proto_modules.c:3165:4: error: a label can only be part of a statement and a declaration is not a statement
bool defer_primary_sync;
Author: Tatsuo Ishii <ishii@postgresql.org>
Backpatch-through: v4.3
src/protocol/pool_proto_modules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/protocol/pool_proto_modules.c b/src/protocol/pool_proto_modules.c
index b96c9b39f..6d98c0094 100644
--- a/src/protocol/pool_proto_modules.c
+++ b/src/protocol/pool_proto_modules.c
@@ -3105,6 +3105,7 @@ ProcessFrontendResponse(POOL_CONNECTION *frontend,
POOL_QUERY_CONTEXT *query_context;
char *query;
Node *node;
+ bool defer_primary_sync;
case 'X': /* Terminate */
if (contents)
@@ -3162,7 +3163,6 @@ ProcessFrontendResponse(POOL_CONNECTION *frontend,
break;
case 'S': /* Sync */
- bool defer_primary_sync;
if (pool_config->log_client_messages)
ereport(LOG,
(errmsg("Sync message from frontend.")));