[pgpool-committers: 3889] pgpool: Add new pending message type 'Sync'.

Tatsuo Ishii ishii at postgresql.org
Wed Mar 29 13:22:12 JST 2017


Add new pending message type 'Sync'.

This is used upon receiving a sync message from client.  The pending
message created here is a fake one, just let read_kind_from_backend to
unset in progress flag, so that it reads from all healthy backends,
because the sync message is always forwarded to all health backends.

Branch
------
bug271

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

Modified Files
--------------
src/context/pool_session_context.c         | 29 +++++++++++++++++++++++------
src/include/context/pool_session_context.h |  3 ++-
src/protocol/pool_process_query.c          | 22 ++++++++++++++++------
src/protocol/pool_proto_modules.c          |  6 ++++++
4 files changed, 47 insertions(+), 13 deletions(-)



More information about the pgpool-committers mailing list