projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30020c3
)
Fix copy-and-paste error in logical decoding callback.
author
Robert Haas
Fri, 18 Dec 2015 17:17:35 +0000
(12:17 -0500)
committer
Robert Haas
Fri, 18 Dec 2015 17:22:24 +0000
(12:22 -0500)
This could result in the error context misidentifying where the error
actually occurred.
Craig Ringer
src/backend/replication/logical/logical.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/replication/logical/logical.c
b/src/backend/replication/logical/logical.c
index ee7d3268f02830fbb921d759be80dae05557b985..24e5960e29f0896501585f15e5ae81a7bd179524 100644
(file)
--- 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 = "
shutdow
n";
+ state.callback_name = "
filter_by_origi
n";
state.report_location = InvalidXLogRecPtr;
errcallback.callback = output_plugin_error_callback;
errcallback.arg = (void *) &state;