Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4496226

Browse files
committed
Fix copy-and-paste error in logical decoding callback.
This could result in the error context misidentifying where the error actually occurred. Craig Ringer
1 parent 9a51698 commit 4496226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/logical/logical.c

+1-1
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)