mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
More synchronous replication typo fixes.
Fujii Masao
This commit is contained in:
parent
b8bb8dbf20
commit
2e019c8611
@ -225,7 +225,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
|
|||||||
/*
|
/*
|
||||||
* Insert MyProc into SyncRepQueue, maintaining sorted invariant.
|
* Insert MyProc into SyncRepQueue, maintaining sorted invariant.
|
||||||
*
|
*
|
||||||
* Usually we will go at tail of queue, though its possible that we arrive
|
* Usually we will go at tail of queue, though it's possible that we arrive
|
||||||
* here out of order, so start at tail and work back to insertion point.
|
* here out of order, so start at tail and work back to insertion point.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
@ -122,7 +122,7 @@ struct PGPROC
|
|||||||
* Info to allow us to wait for synchronous replication, if needed.
|
* Info to allow us to wait for synchronous replication, if needed.
|
||||||
* waitLSN is InvalidXLogRecPtr if not waiting; set only by user backend.
|
* waitLSN is InvalidXLogRecPtr if not waiting; set only by user backend.
|
||||||
* syncRepState must not be touched except by owning process or WALSender.
|
* syncRepState must not be touched except by owning process or WALSender.
|
||||||
* syncRep_links used only while holding SyncRepLock.
|
* syncRepLinks used only while holding SyncRepLock.
|
||||||
*/
|
*/
|
||||||
Latch waitLatch; /* allow us to wait for sync rep */
|
Latch waitLatch; /* allow us to wait for sync rep */
|
||||||
XLogRecPtr waitLSN; /* waiting for this LSN or higher */
|
XLogRecPtr waitLSN; /* waiting for this LSN or higher */
|
||||||
|
Loading…
Reference in New Issue
Block a user