Since we currently only have one protocol, this doesn't make much of a
difference other than the error message.
Author: Yugo Nagata
&data->publication_names);
/* Check if we support requested protocol */
- if (data->protocol_version != LOGICALREP_PROTO_VERSION_NUM)
+ if (data->protocol_version > LOGICALREP_PROTO_VERSION_NUM)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("client sent proto_version=%d but we only support protocol %d or lower",