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:55 +0000 (10:00 +0900)
commitdb754701724f1825de790d13f308b9962f858169
tree11ec8faf18cbf6dd9d2416207a84df88b8b0ec28
parent3db8853b646829f25aea14a80a371da114c140b3
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