[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.



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