Skip to content

Commit daaeac8

Browse files
committed
Fix comment which was apparently copy-pasted from another function.
1 parent e6555b4 commit daaeac8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/backend/storage/ipc/standby.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1994, Regents of the University of California
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.14 2010/02/26 02:01:00 momjian Exp $
14+
* $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.15 2010/03/11 09:10:25 heikki Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -629,9 +629,11 @@ StandbyReleaseLockTree(TransactionId xid, int nsubxids, TransactionId *subxids)
629629
}
630630

631631
/*
632-
* StandbyReleaseOldLocks
632+
* StandbyReleaseLocksMany
633633
* Release standby locks held by XIDs < removeXid
634-
* In some cases, keep prepared transactions.
634+
*
635+
* If keepPreparedXacts is true, keep prepared transactions even if
636+
* they're older than removeXid
635637
*/
636638
static void
637639
StandbyReleaseLocksMany(TransactionId removeXid, bool keepPreparedXacts)

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