1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-10 09:21:54 +03:00

Revert "Add temporary debugging assertion, in 9.4 branch only."

This reverts commit 5ee940e1cd.
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); UnregisterSnapshot(snapshot);
InvalidateCatalogSnapshot(); 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 * The index is now valid in the sense that it contains all currently
* interesting tuples. But since it might not contain tuples deleted just * interesting tuples. But since it might not contain tuples deleted just