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

Commit4496226

Browse files
committed
Fix copy-and-paste error in logical decoding callback.
This could result in the error context misidentifying where the erroractually occurred.Craig Ringer
1 parent9a51698 commit4496226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/logical/logical.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, RepOriginId origin_id)
683683

684684
/* Push callback + info on the error context stack */
685685
state.ctx=ctx;
686-
state.callback_name="shutdown";
686+
state.callback_name="filter_by_origin";
687687
state.report_location=InvalidXLogRecPtr;
688688
errcallback.callback=output_plugin_error_callback;
689689
errcallback.arg= (void*)&state;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp