Fix thinko in logical decoding code.

Andres Freund
This commit is contained in:
Robert Haas 2014-03-31 13:03:18 -04:00
parent 14d02f0bb3
commit 3f0e4be453

View File

@ -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,