1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-08 22:02:03 +03:00

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.
This commit is contained in:
Tom Lane 2018-04-16 13:23:35 -04:00
parent 5ee940e1cd
commit fea5bfde16

View 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