summaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/filemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_rewind/filemap.c')
-rw-r--r--src/bin/pg_rewind/filemap.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/pg_rewind/filemap.c b/src/bin/pg_rewind/filemap.c
index e45e6d44ec..8f49d34652 100644
--- a/src/bin/pg_rewind/filemap.c
+++ b/src/bin/pg_rewind/filemap.c
@@ -48,7 +48,7 @@ static const char *excludeDirContents[] =
* when stats_temp_directory is set because PGSS_TEXT_FILE is always
* created there.
*/
- "pg_stat_tmp", /* defined as PG_STAT_TMP_DIR */
+ "pg_stat_tmp", /* defined as PG_STAT_TMP_DIR */
/*
* It is generally not useful to backup the contents of this directory
@@ -58,7 +58,7 @@ static const char *excludeDirContents[] =
"pg_replslot",
/* Contents removed on startup, see dsm_cleanup_for_mmap(). */
- "pg_dynshmem", /* defined as PG_DYNSHMEM_DIR */
+ "pg_dynshmem", /* defined as PG_DYNSHMEM_DIR */
/* Contents removed on startup, see AsyncShmemInit(). */
"pg_notify",
@@ -492,9 +492,9 @@ process_block_change(ForkNumber forknum, RelFileNode rnode, BlockNumber blkno)
static bool
check_file_excluded(const char *path, const char *type)
{
- char localpath[MAXPGPATH];
- int excludeIdx;
- const char *filename;
+ char localpath[MAXPGPATH];
+ int excludeIdx;
+ const char *filename;
/* check individual files... */
for (excludeIdx = 0; excludeFiles[excludeIdx] != NULL; excludeIdx++)
@@ -733,8 +733,8 @@ isRelDataFile(const char *path)
/*
* The sscanf tests above can match files that have extra characters at
* the end. To eliminate such cases, cross-check that GetRelationPath
- * creates the exact same filename, when passed the RelFileNode information
- * we extracted from the filename.
+ * creates the exact same filename, when passed the RelFileNode
+ * information we extracted from the filename.
*/
if (matched)
{