Commit de4e18a3 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix typos in comments, spotted by Josh Kupershmidt.

parent 4a24c9a0
/* /*
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.28 2010/02/26 02:00:32 momjian Exp $ * $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.29 2010/05/15 09:31:57 heikki Exp $
* *
* *
* pg_standby.c * pg_standby.c
...@@ -169,7 +169,7 @@ CustomizableInitialize(void) ...@@ -169,7 +169,7 @@ CustomizableInitialize(void)
/* /*
* This code assumes that archiveLocation is a directory You may wish to * 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 * 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) if (stat(archiveLocation, &stat_buf) != 0)
{ {
...@@ -190,8 +190,8 @@ CustomizableNextWALFileReady() ...@@ -190,8 +190,8 @@ CustomizableNextWALFileReady()
if (stat(WALFilePath, &stat_buf) == 0) if (stat(WALFilePath, &stat_buf) == 0)
{ {
/* /*
* If its a backup file, return immediately If its a regular file * If it's a backup file, return immediately. If it's a regular file
* return only if its the right size already * return only if it's the right size already.
*/ */
if (strlen(nextWALFileName) > 24 && if (strlen(nextWALFileName) > 24 &&
strspn(nextWALFileName, "0123456789ABCDEF") == 24 && strspn(nextWALFileName, "0123456789ABCDEF") == 24 &&
...@@ -250,7 +250,7 @@ CustomizableCleanupPriorWALFiles(void) ...@@ -250,7 +250,7 @@ CustomizableCleanupPriorWALFiles(void)
struct dirent *xlde; 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 * over time, so we'd rather keep going on the main processing than
* fail because we couldnt clean up yet. * fail because we couldnt clean up yet.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment