More synchronous replication typo fixes.
authorRobert Haas <[email protected]>
Thu, 10 Mar 2011 20:56:18 +0000 (15:56 -0500)
committerRobert Haas <[email protected]>
Thu, 10 Mar 2011 20:56:18 +0000 (15:56 -0500)
Fujii Masao

src/backend/replication/syncrep.c
src/include/storage/proc.h

index ff6b328b38214d00972e19449506eb1b568d2811..07dd235540304d351647475bdc4947eff88a05ad 100644 (file)
@@ -225,7 +225,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
 /*
  * 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.
  */
 static void
index 1d6642c6c7b96ec1a58005be19a36d128746a322..f2e063c6cb5c1dbf9b3b3395a99070e26f5119b5 100644 (file)
@@ -122,7 +122,7 @@ struct PGPROC
     * Info to allow us to wait for synchronous replication, if needed.
     * waitLSN is InvalidXLogRecPtr if not waiting; set only by user backend.
     * 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 */
    XLogRecPtr  waitLSN;            /* waiting for this LSN or higher */