1
1
/*
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 $
3
3
*
4
4
*
5
5
* pg_standby.c
@@ -169,7 +169,7 @@ CustomizableInitialize(void)
169
169
/*
170
170
* This code assumes that archiveLocation is a directory You may wish to
171
171
* 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
173
173
*/
174
174
if (stat (archiveLocation , & stat_buf ) != 0 )
175
175
{
@@ -190,8 +190,8 @@ CustomizableNextWALFileReady()
190
190
if (stat (WALFilePath , & stat_buf ) == 0 )
191
191
{
192
192
/*
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.
195
195
*/
196
196
if (strlen (nextWALFileName ) > 24 &&
197
197
strspn (nextWALFileName , "0123456789ABCDEF" ) == 24 &&
@@ -250,7 +250,7 @@ CustomizableCleanupPriorWALFiles(void)
250
250
struct dirent * xlde ;
251
251
252
252
/*
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
254
254
* over time, so we'd rather keep going on the main processing than
255
255
* fail because we couldnt clean up yet.
256
256
*/
0 commit comments