aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres_ext.h
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2023-12-19 09:53:33 +0530
committerAmit Kapila <akapila@postgresql.org>2023-12-19 09:53:33 +0530
commitc8bc807cf8bc741c83bc74553326856affee5a4f (patch)
tree2bd1a06aa03aaad0e86c61bcbf9eee348a6c4091 /src/include/postgres_ext.h
parent8b965c549dc8753be8a38c4a1b9fabdb535a4338 (diff)
downloadpostgresql-c8bc807cf8bc741c83bc74553326856affee5a4f.tar.gz
postgresql-c8bc807cf8bc741c83bc74553326856affee5a4f.zip
pgoutput: Raise an error for missing protocol version parameter.
Currently, we give a misleading error if the user omits to pass the required parameter 'proto_version' in SQL API pg_logical_slot_get_changes() or during START_REPLICATION protocol message. The error raised is as follows which indicates that the wrong version is passed. ERROR: client sent proto_version=0 but server only supports protocol 1 or higher Author: Emre Hasegeli Reviewed-by: Peter Smith, Amit Kapila Discussion: https://postgr.es/m/CAE2gYzwdwtUbs-tPSV-QBwgTubiyGD2ZGsSnAVsDfAGGLDrGOA@mail.gmail.com
Diffstat (limited to 'src/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions