aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/standby.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-05-21 23:18:38 -0400
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-05-21 23:19:01 -0400
commit51f41e8c0a0b9ce00734ed4702d16601cc55c280 (patch)
treee5633d524d37bf5f657b7ad5ac4eb7b4eb63bb22 /src/backend/storage/ipc/standby.c
parent2e1b5d3f014206f6bdf3dc48d50ecec9dee10fd6 (diff)
downloadpostgresql-51f41e8c0a0b9ce00734ed4702d16601cc55c280.tar.gz
postgresql-51f41e8c0a0b9ce00734ed4702d16601cc55c280.zip
Fix typos in comments.
Diffstat (limited to 'src/backend/storage/ipc/standby.c')
-rw-r--r--src/backend/storage/ipc/standby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c
index d0abe4117f8..1c327fd45c7 100644
--- a/src/backend/storage/ipc/standby.c
+++ b/src/backend/storage/ipc/standby.c
@@ -893,10 +893,10 @@ LogStandbySnapshot(void)
* For Hot Standby this can be done before inserting the WAL record
* because ProcArrayApplyRecoveryInfo() rechecks the commit status using
* the clog. For logical decoding, though, the lock can't be released
- * early becuase the clog might be "in the future" from the POV of the
+ * early because the clog might be "in the future" from the POV of the
* historic snapshot. This would allow for situations where we're waiting
* for the end of a transaction listed in the xl_running_xacts record
- * which, according to the WAL, have commit before the xl_running_xacts
+ * which, according to the WAL, has committed before the xl_running_xacts
* record. Fortunately this routine isn't executed frequently, and it's
* only a shared lock.
*/