Commit 3f0e4be4 authored by Robert Haas's avatar Robert Haas

Fix thinko in logical decoding code.

Andres Freund
parent 14d02f0b
......@@ -402,7 +402,7 @@ CreateDecodingContext(XLogRecPtr start_lsn,
/* call output plugin initialization callback */
old_context = MemoryContextSwitchTo(ctx->context);
if (ctx->callbacks.startup_cb != NULL)
startup_cb_wrapper(ctx, &ctx->options, true);
startup_cb_wrapper(ctx, &ctx->options, false);
MemoryContextSwitchTo(old_context);
ereport(LOG,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment