mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 10:27:19 +02: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
30020c3fc3
commit
550e9c2305
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user