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:40:24 +0000 (13:40 +0900)
commit1906b1cdf1dd30faa11cba51cb1f4a3965adc65b
tree46d066b817ecdb497a2457adb6e48034c42853bf
parent14e46899b45c98e02ae3eb5a7bc2750edcda8df5
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