8000 Revert "Add temporary debugging assertion, in 9.4 branch only." · MSPawanRanjith/postgres@fea5bfd · GitHub
[go: up one dir, main page]

Skip to content

Commit fea5bfd

Browse files
committed
Revert "Add temporary debugging assertion, in 9.4 branch only."
This reverts commit 5ee940e. Further debugging is needed, but it'll look different than this, so for simplicity revert this first.
1 parent 5ee940e commit fea5bfd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/backend/commands/indexcmds.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,6 @@ DefineIndex(Oid relationId,
773773
UnregisterSnapshot(snapshot);
774774
InvalidateCatalogSnapshot();
775775

776-
/* Temporary debug check: we should be advertising we have no snapshots. */
777-
Assert(MyPgXact->xmin == InvalidTransactionId);
778-
779776
/*
780777
* The index is now valid in the sense that it contains all currently
781778
* interesting tuples. But since it might not contain tuples deleted just

0 commit comments

Comments
 (0)
0