Skip to content

Commit cf3e276

Browse files
committed
Fix variable and type name in comment.
Kyotaro Horiguchi Discussion: https://www.postgresql.org/message-id/20170711.163441.241981736.horiguchi.kyotaro@lab.ntt.co.jp
1 parent 66a3ea0 commit cf3e276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/ipc/standby.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,14 +549,14 @@ StandbyTimeoutHandler(void)
549549
* one transaction on one relation, and don't worry about lock queuing.
550550
*
551551
* We keep a single dynamically expandible list of locks in local memory,
552-
* RelationLockList, so we can keep track of the various entries made by
552+
* RecoveryLockList, so we can keep track of the various entries made by
553553
* the Startup process's virtual xid in the shared lock table.
554554
*
555555
* We record the lock against the top-level xid, rather than individual
556556
* subtransaction xids. This means AccessExclusiveLocks held by aborted
557557
* subtransactions are not released as early as possible on standbys.
558558
*
559-
* List elements use type xl_rel_lock, since the WAL record type exactly
559+
* List elements use type xl_standby_lock, since the WAL record type exactly
560560
* matches the information that we need to keep track of.
561561
*
562562
* We use session locks rather than normal locks so we don't need

0 commit comments

Comments
 (0)