[pgpool-committers: 7968] pgpool: Fix SI mode to acquire a snapshot with an internal transaction.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Aug 10 14:52:25 JST 2021


Fix SI mode to acquire a snapshot with an internal transaction.

In SI mode a data modifying statement needs to start internal
transaction.  However it forgot to acquire a snapshot. This commit
fixes that in both simple query protocol and extended query protocol.

Branch
------
V4_2_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=af2d2c50a4baf98b0805d6feb06a577a034f86c2

Modified Files
--------------
src/protocol/pool_process_query.c | 15 ++++----------
src/protocol/pool_proto_modules.c | 43 +++++++++++++++++++++++++++++++++------
2 files changed, 41 insertions(+), 17 deletions(-)



More information about the pgpool-committers mailing list