Content-Length: 259240 | pFad | http://github.com/postgrespro/postgres/commit/70b573b2677eb5ef28515e824e5027e26ce21d77

F5 Fix logical replication protocol comparison logic · postgrespro/postgres@70b573b · GitHub
Skip to content

Commit 70b573b

Browse files
committed
Fix logical replication protocol comparison logic
Since we currently only have one protocol, this doesn't make much of a difference other than the error message. Author: Yugo Nagata <nagata@sraoss.co.jp>
1 parent 34a23a3 commit 70b573b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/pgoutput/pgoutput.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pgoutput_startup(LogicalDecodingContext *ctx, OutputPluginOptions *opt,
173173
&data->publication_names);
174174

175175
/* Check if we support requested protocol */
176-
if (data->protocol_version != LOGICALREP_PROTO_VERSION_NUM)
176+
if (data->protocol_version > LOGICALREP_PROTO_VERSION_NUM)
177177
ereport(ERROR,
178178
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
179179
errmsg("client sent proto_version=%d but we only support protocol %d or lower",

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/70b573b2677eb5ef28515e824e5027e26ce21d77

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy