Skip to content

Commit f738747

Browse files
committed
Do this TODO item:
* HOLDER/HOLDERTAB rename to PROCLOCK/PROCLOCKTAG (Tom) Didn't use PROCLOCKLINK because it made PROCLOCKLINKTAG too long.
1 parent 8ca6147 commit f738747

File tree

5 files changed

+92
-92
lines changed

5 files changed

+92
-92
lines changed

src/backend/storage/lmgr/deadlock.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.4 2001/09/29 04:02:24 tgl Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.5 2001/09/29 21:35:14 momjian Exp $
1616
*
1717
* Interface:
1818
*
@@ -382,7 +382,7 @@ FindLockCycleRecurse(PROC *checkProc,
382382
{
383383
PROC *proc;
384384
LOCK *lock;
385-
HOLDER *holder;
385+
PROCLOCK *holder;
386386
SHM_QUEUE *lockHolders;
387387
LOCKMETHODTABLE *lockMethodTable;
388388
LOCKMETHODCTL *lockctl;
@@ -434,8 +434,8 @@ FindLockCycleRecurse(PROC *checkProc,
434434
*/
435435
lockHolders = &(lock->lockHolders);
436436

437-
holder = (HOLDER *) SHMQueueNext(lockHolders, lockHolders,
438-
offsetof(HOLDER, lockLink));
437+
holder = (PROCLOCK *) SHMQueueNext(lockHolders, lockHolders,
438+
offsetof(PROCLOCK, lockLink));
439439

440440
while (holder)
441441
{
@@ -458,8 +458,8 @@ FindLockCycleRecurse(PROC *checkProc,
458458
}
459459
}
460460

461-
holder = (HOLDER *) SHMQueueNext(lockHolders, &holder->lockLink,
462-
offsetof(HOLDER, lockLink));
461+
holder = (PROCLOCK *) SHMQueueNext(lockHolders, &holder->lockLink,
462+
offsetof(PROCLOCK, lockLink));
463463
}
464464

465465
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy