Add const qualifiers
David Steele <david@pgmasters.net>
From: David Steele <david@pgmasters.net>
To: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2023-09-01T15:39:24Z
Lists: pgsql-hackers
Attachments
- v01-0001-add-const-decorations.patch (text/plain) patch v1-0001
Hackers, I noticed that there was a mismatch between the const qualifiers for excludeDirContents in src/backend/backup/backup/basebackup.c and src/bin/pg_rewind/file_map.c and that led me to use ^static const.*\*.*= to do a quick search for similar cases. I think at the least we should make excludeDirContents match, but the rest of the changes seem like a good idea as well. Regards, -David
Commits
-
Add some const qualifiers
- 64b787656de6 17.0 landed