mirror of
https://github.com/postgres/postgres.git
synced 2026-06-13 10:40:09 -04:00
Fix typos in comments, spotted by Josh Kupershmidt.
This commit is contained in:
parent
c302ed9e4e
commit
24bd638ed0
1 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.26.2.1 2009/11/04 12:51:36 heikki Exp $
|
||||
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.26.2.2 2010/05/15 09:32:03 heikki Exp $
|
||||
*
|
||||
*
|
||||
* pg_standby.c
|
||||
|
|
@ -169,7 +169,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)
|
||||
{
|
||||
|
|
@ -190,8 +190,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 &&
|
||||
|
|
@ -250,7 +250,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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue