Remove unnecessary macro.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 31 Jan 2023 11:36:29 +0000 (20:36 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 31 Jan 2023 11:39:18 +0000 (20:39 +0900)
The macro "DUAL_MODE" is no longer used anywhere.
Moreover, if it is used, it causes a compile error.

src/include/pool.h

index f3de145438af004c6bd165b3f28ac64db793d5f0..74f103233125f369c82e24819f8a9358c42aad73 100644 (file)
@@ -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 */