|
11 | 11 | * Portions Copyright (c) 1994, Regents of the University of California
|
12 | 12 | *
|
13 | 13 | * 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 $ |
15 | 15 | *
|
16 | 16 | *-------------------------------------------------------------------------
|
17 | 17 | */
|
@@ -629,9 +629,11 @@ StandbyReleaseLockTree(TransactionId xid, int nsubxids, TransactionId *subxids)
|
629 | 629 | }
|
630 | 630 |
|
631 | 631 | /*
|
632 |
| - *StandbyReleaseOldLocks |
| 632 | + *StandbyReleaseLocksMany |
633 | 633 | *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 |
635 | 637 | */
|
636 | 638 | staticvoid
|
637 | 639 | StandbyReleaseLocksMany(TransactionIdremoveXid,boolkeepPreparedXacts)
|
|