diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-09-08 12:24:19 -0700 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-09-08 12:24:19 -0700 |
commit | 9226a3b89b004b3472d963442856206f0c249a53 (patch) | |
tree | e77673b9c74a2a512b4133a7b40b4aec265d7c9d /src/backend/access | |
parent | 361844fe561f6898d90a10382705ad968929a4b2 (diff) | |
download | postgresql-9226a3b89b004b3472d963442856206f0c249a53.tar.gz postgresql-9226a3b89b004b3472d963442856206f0c249a53.zip |
Remove duplicated words split across lines in comments
This has been detected using some interesting tricks with sed, and the
method used is mentioned in details in the discussion below.
Author: Justin Pryzby
Discussion: https://postgr.es/m/20180908013109.GB15350@telsasoft.com
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/gin/ginbtree.c | 2 | ||||
-rw-r--r-- | src/backend/access/transam/twophase.c | 2 | ||||
-rw-r--r-- | src/backend/access/transam/xlogarchive.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/gin/ginbtree.c b/src/backend/access/gin/ginbtree.c index 030d0f44183..d5a568106c5 100644 --- a/src/backend/access/gin/ginbtree.c +++ b/src/backend/access/gin/ginbtree.c @@ -211,7 +211,7 @@ freeGinBtreeStack(GinBtreeStack *stack) /* * Try to find parent for current stack position. Returns correct parent and * child's offset in stack->parent. The root page is never released, to - * to prevent conflict with vacuum process. + * prevent conflict with vacuum process. */ static void ginFindParents(GinBtree btree, GinBtreeStack *stack) diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index c06bbe72646..3942734e5ae 100644 --- a/src/backend/access/transam/twophase.c +++ b/src/backend/access/transam/twophase.c @@ -1726,7 +1726,7 @@ RecreateTwoPhaseFile(TransactionId xid, void *content, int len) * possible that GXACTs that were valid at checkpoint start will no longer * exist if we wait a little bit. With typical checkpoint settings this * will be about 3 minutes for an online checkpoint, so as a result we - * we expect that there will be no GXACTs that need to be copied to disk. + * expect that there will be no GXACTs that need to be copied to disk. * * If a GXACT remains valid across multiple checkpoints, it will already * be on disk so we don't bother to repeat that write. diff --git a/src/backend/access/transam/xlogarchive.c b/src/backend/access/transam/xlogarchive.c index 5c6de4989c9..4a039b11901 100644 --- a/src/backend/access/transam/xlogarchive.c +++ b/src/backend/access/transam/xlogarchive.c @@ -422,7 +422,7 @@ ExecuteRecoveryCommand(const char *command, const char *commandName, bool failOn /* * A file was restored from the archive under a temporary filename (path), * and now we want to keep it. Rename it under the permanent filename in - * in pg_wal (xlogfname), replacing any existing file with the same name. + * pg_wal (xlogfname), replacing any existing file with the same name. */ void KeepFileRestoredFromArchive(const char *path, const char *xlogfname) |