diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-12-18 12:17:35 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-12-18 12:22:24 -0500 |
commit | 550e9c23053c2540620dd0f72525ce2e47fd40a5 (patch) | |
tree | 96e2d54f23010015517a834cf1ea830f177f1f1a /src | |
parent | 30020c3fc3b6de5592978313df929d370f5770ce (diff) | |
download | postgresql-550e9c23053c2540620dd0f72525ce2e47fd40a5.tar.gz postgresql-550e9c23053c2540620dd0f72525ce2e47fd40a5.zip |
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.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 ee7d3268f02..24e5960e29f 100644 --- a/src/backend/replication/logical/logical.c +++ b/src/backend/replication/logical/logical.c @@ -728,7 +728,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; |