Fix comment mistakes.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 2 Feb 2023 05:29:33 +0000 (14:29 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 2 Feb 2023 05:29:33 +0000 (14:29 +0900)
src/context/pool_query_context.c

index 6df01213b5181482065f141c55d7bfe1cc056f78..bbead564ae27021f44dcb59e3b80dc289fc3f486 100644 (file)
@@ -836,8 +836,8 @@ pool_send_and_wait(POOL_QUERY_CONTEXT * query_context,
                        continue;
 
                /*
-                * If in native replication mode, we do not send COMMIT/ABORT to
-                * standbys if it's in I(idle) state.
+                * If we are in streaming replication mode or logical replication mode,
+                * we do not send COMMIT/ABORT to standbys if it's in I (idle) state.
                 */
                if (is_commit && MAIN_REPLICA && !IS_MAIN_NODE_ID(i) && TSTATE(backend, i) == 'I')
                {