Fix copy-and-paste error in logical decoding callback.

This could result in the error context misidentifying where the error
actually occurred.

Craig Ringer
pull/14/head^2
Robert Haas 10 years ago
parent 9a51698bae
commit 4496226782
  1. 2
      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;

Loading…
Cancel
Save