Enhance error message while processing parse message.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sat, 12 Mar 2022 04:33:42 +0000 (13:33 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sat, 12 Mar 2022 04:33:42 +0000 (13:33 +0900)
commite39d091d64a21b7c0027826fb751dd4999647bc9
tree3165148c5e4bcaa1ae62fc45d929c5a034eb40af
parent7ca28f177e7dfdbf14e3b69cccf068b1bb26d495
Enhance error message while processing parse message.

In non-streaming replication mode, a sync message is sent to backend
after a parse message is sent to backend, expecting to get a ready for
query message.  If different message is returned, pgpool will complain
that. This commit adds more information: the message kind returned and
the backend node id.
src/protocol/pool_proto_modules.c