aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/lmgr/deadlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage/lmgr/deadlock.c')
-rw-r--r--src/backend/storage/lmgr/deadlock.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/backend/storage/lmgr/deadlock.c b/src/backend/storage/lmgr/deadlock.c
index 617ebacdd4c..2bdd20b1fe8 100644
--- a/src/backend/storage/lmgr/deadlock.c
+++ b/src/backend/storage/lmgr/deadlock.c
@@ -546,12 +546,11 @@ FindLockCycleRecurseMember(PGPROC *checkProc,
lm;
/*
- * The relation extension or page lock can never participate in actual
- * deadlock cycle. See Asserts in LockAcquireExtended. So, there is no
- * advantage in checking wait edges from them.
+ * The relation extension lock can never participate in actual deadlock
+ * cycle. See Assert in LockAcquireExtended. So, there is no advantage
+ * in checking wait edges from it.
*/
- if (LOCK_LOCKTAG(*lock) == LOCKTAG_RELATION_EXTEND ||
- (LOCK_LOCKTAG(*lock) == LOCKTAG_PAGE))
+ if (LOCK_LOCKTAG(*lock) == LOCKTAG_RELATION_EXTEND)
return false;
lockMethodTable = GetLocksMethodTable(lock);