aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-03-10 15:56:18 -0500
committerRobert Haas <rhaas@postgresql.org>2011-03-10 15:56:18 -0500
commit2e019c8611654175780db488d81cc2dc8311f22e (patch)
tree7b167637682d6db006b2847c16fc79428a6190e2 /src
parentb8bb8dbf20e13087f8e57ff4c42e81776ae5e545 (diff)
downloadpostgresql-2e019c8611654175780db488d81cc2dc8311f22e.tar.gz
postgresql-2e019c8611654175780db488d81cc2dc8311f22e.zip
More synchronous replication typo fixes.
Fujii Masao
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/syncrep.c2
-rw-r--r--src/include/storage/proc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c
index ff6b328b382..07dd2355403 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 1d6642c6c7b..f2e063c6cb5 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 */