aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execReplication.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor/execReplication.c')
-rw-r--r--src/backend/executor/execReplication.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/backend/executor/execReplication.c b/src/backend/executor/execReplication.c
index e7765242270..81f27042bc4 100644
--- a/src/backend/executor/execReplication.c
+++ b/src/backend/executor/execReplication.c
@@ -222,16 +222,7 @@ retry:
if (!isIdxSafeToSkipDuplicates)
{
if (eq == NULL)
- {
-#ifdef USE_ASSERT_CHECKING
- /* apply assertions only once for the input idxoid */
- IndexInfo *indexInfo = BuildIndexInfo(idxrel);
-
- Assert(IsIndexUsableForReplicaIdentityFull(indexInfo));
-#endif
-
eq = palloc0(sizeof(*eq) * outslot->tts_tupleDescriptor->natts);
- }
if (!tuples_equal(outslot, searchslot, eq))
continue;