From: Robert Haas Date: Thu, 10 Mar 2011 20:56:18 +0000 (-0500) Subject: More synchronous replication typo fixes. X-Git-Tag: REL9_1_ALPHA5~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e019c8611654175780db488d81cc2dc8311f22e;p=postgresql More synchronous replication typo fixes. Fujii Masao --- diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c index ff6b328b38..07dd235540 100644 --- a/src/backend/replication/syncrep.c +++ b/src/backend/replication/syncrep.c @@ -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 diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 1d6642c6c7..f2e063c6cb 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -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 */