From fea5bfde1673fdbcf3ae2ce1ce3d5df2743e5653 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 16 Apr 2018 13:23:35 -0400 Subject: [PATCH] Revert "Add temporary debugging assertion, in 9.4 branch only." This reverts commit 5ee940e1cdb6af3af52bb01e44aac63f3a73a28d. Further debugging is needed, but it'll look different than this, so for simplicity revert this first. --- src/backend/commands/indexcmds.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 9d48032617c..05afcb0088d 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -773,9 +773,6 @@ DefineIndex(Oid relationId, UnregisterSnapshot(snapshot); InvalidateCatalogSnapshot(); - /* Temporary debug check: we should be advertising we have no snapshots. */ - Assert(MyPgXact->xmin == InvalidTransactionId); - /* * The index is now valid in the sense that it contains all currently * interesting tuples. But since it might not contain tuples deleted just