index 6876537b625cdb229e26cb5420a0930afc3b0918..b7ff004234a9c22fd858cb0edd9778170d33dff5 100644 (file)
} XLogSource;
/* human-readable names for XLogSources, for debugging output */
-static const char *xlogSourceNames[] = {"any", "archive", "pg_wal", "stream"};
+static const char *const xlogSourceNames[] = {"any", "archive", "pg_wal", "stream"};
/*
* openLogFile is -1 or a kernel FD for an open log file segment.
index 6aab8d7b5f33b0b19b84af4f5acc000aefd72346..f5f361c2093af9679adf78ef30b9406076246034 100644 (file)
* Note: this list should be kept in sync with the filter lists in pg_rewind's
* filemap.c.
*/
-static const char *excludeDirContents[] =
+static const char *const excludeDirContents[] =
{
/*
* Skip temporary statistics files. PG_STAT_TMP_DIR must be skipped even
@@ -172,7 +172,7 @@ static const char *excludeDirContents[] =
/*
* List of files excluded from backups.
*/
-static const char *excludeFiles[] =
+static const char *const excludeFiles[] =
{
/* Skip auto conf temporary file. */
PG_AUTOCONF_FILENAME ".tmp",