A typo fix in a comment in xlog.c - Mailing list pgsql-hackers

From Kyotaro HORIGUCHI
Subject A typo fix in a comment in xlog.c
Date
Msg-id 20120416.212830.92893725.horiguchi.kyotaro@lab.ntt.co.jp
Whole thread Raw
Responses Re: A typo fix in a comment in xlog.c  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hello, I found a duplicate words in the comment of
StartupXLOG@xlog.c and the attached patch fixes it.


Essentially the fix is in one line as follows,

-  * We're in recovery, so unlogged relations relations may be trashed
+  * We're in recovery, so unlogged relations may be trashed

But I did fill-paragraph for the fixed comment so the patch
replaces a little bit more.

regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

== My e-mail address has been changed since Apr. 1, 2012.
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 0c301b2..04dec4e 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -6354,10 +6354,10 @@ StartupXLOG(void)        CheckRequiredParameterValues();        /*
-         * We're in recovery, so unlogged relations relations may be trashed
-         * and must be reset.  This should be done BEFORE allowing Hot Standby
-         * connections, so that read-only backends don't try to read whatever
-         * garbage is left over from before.
+         * We're in recovery, so unlogged relations may be trashed and must
+         * be reset.  This should be done BEFORE allowing Hot Standby
+         * connections, so that read-only backends don't try to read
+         * whatever garbage is left over from before.         */
ResetUnloggedRelations(UNLOGGED_RELATION_CLEANUP);

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: 9.3 Pre-proposal: Range Merge Join
Next
From: Peter Eisentraut
Date:
Subject: Re: A typo fix in a comment in xlog.c