From: Robert Haas Date: Fri, 18 Dec 2015 17:17:35 +0000 (-0500) Subject: Fix copy-and-paste error in logical decoding callback. X-Git-Tag: REL9_6_BETA1~976 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4496226782c47e78b428babbcc16dec4f7329f2b;p=thirdparty%2Fpostgresql.git Fix copy-and-paste error in logical decoding callback. This could result in the error context misidentifying where the error actually occurred. Craig Ringer --- diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c index 1ce90811cc8..2e14a3e0889 100644 --- a/src/backend/replication/logical/logical.c +++ b/src/backend/replication/logical/logical.c @@ -683,7 +683,7 @@ filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, RepOriginId origin_id) /* Push callback + info on the error context stack */ state.ctx = ctx; - state.callback_name = "shutdown"; + state.callback_name = "filter_by_origin"; state.report_location = InvalidXLogRecPtr; errcallback.callback = output_plugin_error_callback; errcallback.arg = (void *) &state;