Add const to BufFileWrite Make data buffer argument to BufFileWrite a const pointer and bubble this up to various callers and related APIs. This makes the APIs clearer and more consistent.
Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/faf3750657a8271e2a28c054fd83e47302ac1eb4 Modified Files -------------- src/backend/access/gist/gistbuildbuffers.c | 4 ++-- src/backend/backup/backup_manifest.c | 4 ++-- src/backend/storage/file/buffile.c | 4 ++-- src/backend/utils/sort/logtape.c | 8 ++++---- src/include/storage/buffile.h | 2 +- src/include/utils/logtape.h | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-)