Remove unnecessary casts
Peter Eisentraut <peter@eisentraut.org>
Remove unnecessary casts Some code carefully cast all data buffer arguments for data write and read function calls to void *, even though the respective arguments are already void *. Remove this unnecessary clutter. Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeAgg.c | modified | +3 −3 |
| src/backend/storage/file/buffile.c | modified | +2 −2 |
| src/backend/utils/sort/logtape.c | modified | +9 −9 |
| src/backend/utils/sort/tuplesort.c | modified | +1 −1 |
| src/backend/utils/sort/tuplesortvariants.c | modified | +8 −8 |
Discussion
- File API cleanup 5 messages · 2022-12-01 → 2023-02-20