mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Add some const qualifiers
There was a mismatch between the const qualifiers for excludeDirContents in src/backend/backup/basebackup.c and src/bin/pg_rewind/filemap.c, which led to a quick search for similar cases. We should make excludeDirContents match, but the rest of the changes seem like a good idea as well. Author: David Steele <david@pgmasters.net> Discussion: https://www.postgresql.org/message-id/flat/669a035c-d23d-2f38-7ff0-0cb93e01d610@pgmasters.net
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
static const char oom_buffer[1] = "";
|
||||
|
||||
/* Need a char * for unconstify() compatibility */
|
||||
static const char *oom_buffer_ptr = oom_buffer;
|
||||
static const char *const oom_buffer_ptr = oom_buffer;
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user