Revert "Add temporary debugging assertion, in 9.4 branch only."
authorTom Lane
Mon, 16 Apr 2018 17:23:35 +0000 (13:23 -0400)
committerTom Lane
Mon, 16 Apr 2018 17:23:35 +0000 (13:23 -0400)
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

index 9d48032617cfb574343e971b3c159764dceb3e87..05afcb0088d66f9889e0f1294974b0d0d747919e 100644 (file)
@@ -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