Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70b573b

Browse files
committed
Fix logical replication protocol comparison logic
Since we currently only have one protocol, this doesn't make much of adifference other than the error message.Author: Yugo Nagata <nagata@sraoss.co.jp>
1 parent34a23a3 commit70b573b

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)

[8]ページ先頭

©2009-2025 Movatter.jp