mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Add some const decorations to array constants
Author: Mark G <markg735@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAEeOP_YFVeFjq4zDZLDQbLSRFxBiTpwBQHxCNgGd%2Bp5VztTXyQ%40mail.gmail.com
This commit is contained in:
@ -769,7 +769,7 @@ typedef enum
|
||||
} 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.
|
||||
|
Reference in New Issue
Block a user