More synchronous replication typo fixes.

Fujii Masao
This commit is contained in:
Robert Haas 2011-03-10 15:56:18 -05:00
parent b8bb8dbf20
commit 2e019c8611
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 */