projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aef6fe4
)
Fix comment mistakes.
author
Tatsuo Ishii
<ishii@sraoss.co.jp>
Thu, 2 Feb 2023 05:29:33 +0000
(14:29 +0900)
committer
Tatsuo Ishii
<ishii@sraoss.co.jp>
Thu, 2 Feb 2023 05:29:33 +0000
(14:29 +0900)
src/context/pool_query_context.c
patch
|
blob
|
blame
|
history
diff --git
a/src/context/pool_query_context.c
b/src/context/pool_query_context.c
index 6df01213b5181482065f141c55d7bfe1cc056f78..bbead564ae27021f44dcb59e3b80dc289fc3f486 100644
(file)
--- a/
src/context/pool_query_context.c
+++ b/
src/context/pool_query_context.c
@@
-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')
{