postgres.git / summary / log / commit / refs
commit 3f0e4be453ffd27b5f5e6c115172091abda3a38f
Author: Robert Haas <rhaas@postgresql.org>
Date: Mon Mar 31 17:03:18 2014 +0000
First released in: 9.4.0
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,
[parent: 14d02f0bb352]