Skip to content

Commit 0a2d07c

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 941188a commit 0a2d07c

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
@@ -586,14 +586,14 @@ StandbyLockTimeoutHandler(void)
586586
* one transaction on one relation.
587587
*
588588
* We keep a single dynamically expandible list of locks in local memory,
589-
* RelationLockList, so we can keep track of the various entries made by
589+
* RecoveryLockList, so we can keep track of the various entries made by
590590
* the Startup process's virtual xid in the shared lock table.
591591
*
592592
* We record the lock against the top-level xid, rather than individual
593593
* subtransaction xids. This means AccessExclusiveLocks held by aborted
594594
* subtransactions are not released as early as possible on standbys.
595595
*
596-
* List elements use type xl_rel_lock, since the WAL record type exactly
596+
* List elements use type xl_standby_lock, since the WAL record type exactly
597597
* matches the information that we need to keep track of.
598598
*
599599
* We use session locks rather than normal locks so we don't need

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