Skip to content

Commit 4496226

Browse files
committed
Fix copy-and-paste error in logical decoding callback.
This could result in the error context misidentifying where the error actually occurred. Craig Ringer
1 parent 9a51698 commit 4496226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/logical/logical.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, RepOriginId origin_id)
683683

684684
/* Push callback + info on the error context stack */
685685
state.ctx = ctx;
686-
state.callback_name = "shutdown";
686+
state.callback_name = "filter_by_origin";
687687
state.report_location = InvalidXLogRecPtr;
688688
errcallback.callback = output_plugin_error_callback;
689689
errcallback.arg = (void *) &state;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy