Fix thinko in logical decoding code.
Andres Freund
This commit is contained in:
parent
14d02f0bb3
commit
3f0e4be453
@ -402,7 +402,7 @@ CreateDecodingContext(XLogRecPtr start_lsn,
|
|||||||
/* call output plugin initialization callback */
|
/* call output plugin initialization callback */
|
||||||
old_context = MemoryContextSwitchTo(ctx->context);
|
old_context = MemoryContextSwitchTo(ctx->context);
|
||||||
if (ctx->callbacks.startup_cb != NULL)
|
if (ctx->callbacks.startup_cb != NULL)
|
||||||
startup_cb_wrapper(ctx, &ctx->options, true);
|
startup_cb_wrapper(ctx, &ctx->options, false);
|
||||||
MemoryContextSwitchTo(old_context);
|
MemoryContextSwitchTo(old_context);
|
||||||
|
|
||||||
ereport(LOG,
|
ereport(LOG,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user