diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-11-17 15:14:44 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-11-17 15:42:09 +0100 |
commit | bbf9c282ce92272ed7bf6771daf0f9efa209e61b (patch) | |
tree | f05ce44758da3450325dae752d595f623b2f9883 /src/backend/access/gist/gist.c | |
parent | dce92e59b1a9ff8401a660a1ac448ea37d498284 (diff) | |
download | postgresql-bbf9c282ce92272ed7bf6771daf0f9efa209e61b.tar.gz postgresql-bbf9c282ce92272ed7bf6771daf0f9efa209e61b.zip |
libpq: Handle NegotiateProtocolVersion message
Before, receiving a NegotiateProtocolVersion message would result in a
confusing error message like
expected authentication request from server, but received v
This adds proper handling of this protocol message and produces an
on-topic error message from it.
Reviewed-by: Jacob Champion <jchampion@timescale.com>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f9c7862f-b864-8ef7-a861-c4638c83e209%40enterprisedb.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions