Fix bug in replication/snapshot isolation mode.
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 14 Sep 2024 00:54:56 +0000 (09:54 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 14 Sep 2024 01:00:28 +0000 (10:00 +0900)
commita4c15f4595fc2ab5b5ac58eedf96b5b5119e074e
tree84efe59f397dab0ca9cb9d30cab74a816e768feb
parent77d30e38b7a2dfda8063d726acdac1fce1788e0c
Fix bug in replication/snapshot isolation mode.

When INSERT command is received, pgpool automatically issues table
LOCK command to the target table but it forgot to send the command to
other than main nodes. This only happened in extended query mode.
This commit fixes the bug.

Discussion: GitHub issue #69.
https://github.com/pgpool/pgpool2/issues/69
Backpatch-through: v4.1
src/protocol/pool_process_query.c