From: Heikki Linnakangas Date: Wed, 12 Jul 2017 14:07:35 +0000 (+0300) Subject: Fix variable and type name in comment. X-Git-Tag: REL_10_BETA3~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca906f68f22bf2076349394a5f28caf1f6e6f2f7;p=postgresql 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 --- diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index 0343cc6bdf..d491ece60a 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -587,10 +587,10 @@ StandbyLockTimeoutHandler(void) * one transaction on one relation. * * We keep a single dynamically expandible list of locks in local memory, - * RelationLockList, so we can keep track of the various entries made by + * RecoveryLockList, so we can keep track of the various entries made by * the Startup process's virtual xid in the shared lock table. * - * List elements use type xl_rel_lock, since the WAL record type exactly + * List elements use type xl_standby_lock, since the WAL record type exactly * matches the information that we need to keep track of. * * We use session locks rather than normal locks so we don't need