Skip to content

Commit 550e9c2

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 30020c3 commit 550e9c2

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
@@ -728,7 +728,7 @@ filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, RepOriginId origin_id)
728728

729729
/* Push callback + info on the error context stack */
730730
state.ctx = ctx;
731-
state.callback_name = "shutdown";
731+
state.callback_name = "filter_by_origin";
732732
state.report_location = InvalidXLogRecPtr;
733733
errcallback.callback = output_plugin_error_callback;
734734
errcallback.arg = (void *) &state;

0 commit comments

Comments
 (0)