Fix thinko in logical decoding code.

Andres Freund
pull/6/head
Robert Haas 12 years ago
parent 14d02f0bb3
commit 3f0e4be453
  1. 2
      src/backend/replication/logical/logical.c

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

Loading…
Cancel
Save