summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas2015-12-18 17:17:35 +0000
committerRobert Haas2015-12-18 17:17:35 +0000
commit4496226782c47e78b428babbcc16dec4f7329f2b (patch)
tree59247f89ccdd6c70d31c18b78e0acb4d7f5c2061 /src
parent9a51698bae86f748279ecedcae018925b5af5b2d (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
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/logical/logical.c2
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;