aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/logical.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/replication/logical/logical.c')
-rw-r--r--src/backend/replication/logical/logical.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c
index e49b5115175..605ec0986ca 100644
--- a/src/backend/replication/logical/logical.c
+++ b/src/backend/replication/logical/logical.c
@@ -1083,15 +1083,6 @@ filter_prepare_cb_wrapper(LogicalDecodingContext *ctx, const char *gid)
Assert(!ctx->fast_forward);
- /*
- * Skip if decoding of two-phase transactions at PREPARE time is not
- * enabled. In that case, all two-phase transactions are considered
- * filtered out and will be applied as regular transactions at COMMIT
- * PREPARED.
- */
- if (!ctx->twophase)
- return true;
-
/* Push callback + info on the error context stack */
state.ctx = ctx;
state.callback_name = "filter_prepare";