pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedminor typofixes for pg_standby.c
2+ messages / 2 participants
[nested] [flat]
* minor typofixes for pg_standby.c
@ 2010-05-15 08:09 Josh Kupershmidt <schmiddy@gmail.com>
2010-05-15 09:32 ` Re: minor typofixes for pg_standby.c Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
0 siblings, 1 reply; 2+ messages in thread
From: Josh Kupershmidt @ 2010-05-15 08:09 UTC (permalink / raw)
To: pgsql-docs
I noticed I had some typofixes for comments in pg_standby.c hanging
around. Basically, just s/its /it's / .
Josh
Attachments:
pg_standby_typofixes.diff (text/x-diff, 1.9K) download
diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c
index d51f391..b1f23c3 100644
*** a/contrib/pg_standby/pg_standby.c
--- b/contrib/pg_standby/pg_standby.c
*************** CustomizableInitialize(void)
*** 169,175 ****
/*
* 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
*/
if (stat(archiveLocation, &stat_buf) != 0)
{
--- 169,175 ----
/*
* 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 it's accessible
*/
if (stat(archiveLocation, &stat_buf) != 0)
{
*************** CustomizableNextWALFileReady()
*** 190,197 ****
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 (strlen(nextWALFileName) > 24 &&
strspn(nextWALFileName, "0123456789ABCDEF") == 24 &&
--- 190,197 ----
if (stat(WALFilePath, &stat_buf) == 0)
{
/*
! * 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 &&
*************** CustomizableCleanupPriorWALFiles(void)
*** 250,256 ****
struct dirent *xlde;
/*
! * Assume its 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.
*/
--- 250,256 ----
struct dirent *xlde;
/*
! * 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.
*/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: minor typofixes for pg_standby.c
2010-05-15 08:09 minor typofixes for pg_standby.c Josh Kupershmidt <schmiddy@gmail.com>
@ 2010-05-15 09:32 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
0 siblings, 0 replies; 2+ messages in thread
From: Heikki Linnakangas @ 2010-05-15 09:32 UTC (permalink / raw)
To: Josh Kupershmidt <schmiddy@gmail.com>; +Cc: pgsql-docs
Josh Kupershmidt wrote:
> I noticed I had some typofixes for comments in pg_standby.c hanging
> around. Basically, just s/its /it's / .
Thanks, fixed.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2010-05-15 09:32 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-05-15 08:09 minor typofixes for pg_standby.c Josh Kupershmidt <schmiddy@gmail.com>
2010-05-15 09:32 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox