summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-05-15 09:32:09 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-05-15 09:32:09 +0000
commitc1e055762f23251b9e1aa2d79f2def9bb7c551b4 (patch)
tree8650948aeceff9f73b32428cd6da9d567d7262c6
parentc70af4d2fc9ec6b3a5b536ea8a2609fbba5f6f9f (diff)
Fix typos in comments, spotted by Josh Kupershmidt.
-rw-r--r--contrib/pg_standby/pg_standby.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c
index 1d6f972447f..93139ed57c3 100644
--- a/contrib/pg_standby/pg_standby.c
+++ b/contrib/pg_standby/pg_standby.c
@@ -140,7 +140,7 @@ CustomizableInitialize(void)
/*
* This code assumes that archiveLocation is a directory You may wish to
* add code to check for tape libraries, etc.. So, since it is a
- * directory, we use stat to test if its accessible
+ * directory, we use stat to test if it's accessible
*/
if (stat(archiveLocation, &stat_buf) != 0)
{
@@ -161,8 +161,8 @@ CustomizableNextWALFileReady()
if (stat(WALFilePath, &stat_buf) == 0)
{
/*
- * If its a backup file, return immediately If its a regular file
- * return only if its the right size already
+ * If it's a backup file, return immediately. If it's a regular file
+ * return only if it's the right size already.
*/
if (strlen(nextWALFileName) > 24 &&
strspn(nextWALFileName, "0123456789ABCDEF") == 24 &&
@@ -221,7 +221,7 @@ CustomizableCleanupPriorWALFiles(void)
struct dirent *xlde;
/*
- * Assume its OK to keep failing. The failure situation may change
+ * Assume it's OK to keep failing. The failure situation may change
* over time, so we'd rather keep going on the main processing than
* fail because we couldnt clean up yet.
*/