From 3f0e4be453ffd27b5f5e6c115172091abda3a38f Mon Sep 17 00:00:00 2001 From: Robert Haas <rhaas@postgresql.org> Date: Mon, 31 Mar 2014 13:03:18 -0400 Subject: [PATCH] Fix thinko in logical decoding code. Andres Freund --- src/backend/replication/logical/logical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c index 8c6c6c2bb3b..1d08b50da39 100644 --- a/src/backend/replication/logical/logical.c +++ b/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, -- GitLab