Update types in smgr API
Peter Eisentraut <peter@eisentraut.org>
Update types in smgr API Change data buffer to void *, from char *, and add const where appropriate. This makes it match the File API (see also 2d4f1ba6cfc2f0a977f1c30bda9848041343e248) and stdio. Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/bloom/blinsert.c | modified | +1 −1 |
| src/backend/access/heap/rewriteheap.c | modified | +2 −2 |
| src/backend/access/nbtree/nbtree.c | modified | +1 −1 |
| src/backend/access/nbtree/nbtsort.c | modified | +3 −3 |
| src/backend/access/spgist/spginsert.c | modified | +3 −3 |
| src/backend/storage/buffer/bufmgr.c | modified | +2 −2 |
| src/backend/storage/smgr/md.c | modified | +3 −3 |
| src/backend/storage/smgr/smgr.c | modified | +6 −6 |
| src/include/storage/md.h | modified | +3 −3 |
| src/include/storage/smgr.h | modified | +3 −3 |
Discussion
- File API cleanup 5 messages · 2022-12-01 → 2023-02-20