Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+5-3
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)