diff options
author | Robert Haas | 2015-12-18 17:17:35 +0000 |
---|---|---|
committer | Robert Haas | 2015-12-18 17:17:35 +0000 |
commit | 4496226782c47e78b428babbcc16dec4f7329f2b (patch) | |
tree | 59247f89ccdd6c70d31c18b78e0acb4d7f5c2061 | |
parent | 9a51698bae86f748279ecedcae018925b5af5b2d (diff) |
Fix copy-and-paste error in logical decoding callback.
This could result in the error context misidentifying where the error
actually occurred.
Craig Ringer
-rw-r--r-- | src/backend/replication/logical/logical.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |