pgpool2.git / summary / log / commit / refs
commit 13da34691ea945bb6694db8b4cc317e7e874bcdd
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Tue Jan 31 11:36:29 2023 +0000
Remove unnecessary macro.
The macro "DUAL_MODE" is no longer used anywhere.
Moreover, if it is used, it causes a compile error.
src/include/pool.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/include/pool.h b/src/include/pool.h
index f3de14543..74f103233 100644
--- a/src/include/pool.h
+++ b/src/include/pool.h
@@ -4,7 +4,7 @@
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2003-2022 PgPool Global Development Group
+ * Copyright (c) 2003-2023 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby
@@ -370,7 +370,6 @@ typedef enum
#define STREAM (pool_config->backend_clustering_mode == CM_STREAMING_REPLICATION)
#define LOGICAL (pool_config->backend_clustering_mode == CM_LOGICAL_REPLICATION)
#define SLONY (pool_config->backend_clustering_mode == CM_SLONY)
-#define DUAL_MODE (REPLICATION || NATIVE_REPLICATION)
#define RAW_MODE (pool_config->backend_clustering_mode == CM_RAW)
#define SL_MODE (STREAM || LOGICAL) /* streaming or logical replication mode */
[parent: 2b7e9767d43c]