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:34 +0000 (10:00 +0900)
commit794adad1b7ed807c3d7ed46b6c27e3bc30b1bd6a
tree39796909a1c80f0b4a0db93ff55589460f9d3714
parentf60aaf4b90654e5a8e898f702ccca1783b2cde25
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