Add const to BufFileWrite
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gistbuildbuffers.c | modified | +2 −2 |
| src/backend/backup/backup_manifest.c | modified | +2 −2 |
| src/backend/storage/file/buffile.c | modified | +2 −2 |
| src/backend/utils/sort/logtape.c | modified | +4 −4 |
| src/include/storage/buffile.h | modified | +1 −1 |
| src/include/utils/logtape.h | modified | +1 −1 |
Discussion
- File API cleanup 5 messages · 2022-12-01 → 2023-02-20