mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Fix copy-and-paste error in logical decoding callback.
This could result in the error context misidentifying where the error actually occurred. Craig Ringer
This commit is contained in:
parent
9a51698bae
commit
4496226782
@ -683,7 +683,7 @@ filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, RepOriginId origin_id)
|
|||||||
|
|
||||||
/* Push callback + info on the error context stack */
|
/* Push callback + info on the error context stack */
|
||||||
state.ctx = ctx;
|
state.ctx = ctx;
|
||||||
state.callback_name = "shutdown";
|
state.callback_name = "filter_by_origin";
|
||||||
state.report_location = InvalidXLogRecPtr;
|
state.report_location = InvalidXLogRecPtr;
|
||||||
errcallback.callback = output_plugin_error_callback;
|
errcallback.callback = output_plugin_error_callback;
|
||||||
errcallback.arg = (void *) &state;
|
errcallback.arg = (void *) &state;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user