Skip to content

Commit de4e18a

Browse files
committed
Fix typos in comments, spotted by Josh Kupershmidt.
1 parent 4a24c9a commit de4e18a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

contrib/pg_standby/pg_standby.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.28 2010/02/26 02:00:32 momjian Exp $
2+
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.29 2010/05/15 09:31:57 heikki Exp $
33
*
44
*
55
* pg_standby.c
@@ -169,7 +169,7 @@ CustomizableInitialize(void)
169169
/*
170170
* This code assumes that archiveLocation is a directory You may wish to
171171
* add code to check for tape libraries, etc.. So, since it is a
172-
* directory, we use stat to test if its accessible
172+
* directory, we use stat to test if it's accessible
173173
*/
174174
if (stat(archiveLocation, &stat_buf) != 0)
175175
{
@@ -190,8 +190,8 @@ CustomizableNextWALFileReady()
190190
if (stat(WALFilePath, &stat_buf) == 0)
191191
{
192192
/*
193-
* If its a backup file, return immediately If its a regular file
194-
* return only if its the right size already
193+
* If it's a backup file, return immediately. If it's a regular file
194+
* return only if it's the right size already.
195195
*/
196196
if (strlen(nextWALFileName) > 24 &&
197197
strspn(nextWALFileName, "0123456789ABCDEF") == 24 &&
@@ -250,7 +250,7 @@ CustomizableCleanupPriorWALFiles(void)
250250
struct dirent *xlde;
251251

252252
/*
253-
* Assume its OK to keep failing. The failure situation may change
253+
* Assume it's OK to keep failing. The failure situation may change
254254
* over time, so we'd rather keep going on the main processing than
255255
* fail because we couldnt clean up yet.
256256
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy