Remove no longer needed casts to Pointer
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-12-04T18:40:08Z
Releases:
19 (unreleased)
Remove no longer needed casts to Pointer These casts used to be required when Pointer was char *, but now it's void * (commit 1b2bb5077e9), so they are not needed anymore. Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://www.postgresql.org/message-id/4154950a-47ae-4223-bd01-1235cc50e933%40eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| contrib/btree_gist/btree_utils_var.h | modified | +1 −1 |
| src/backend/access/heap/heaptoast.c | modified | +2 −2 |
| src/backend/catalog/aclchk.c | modified | +9 −9 |
| src/backend/catalog/pg_constraint.c | modified | +6 −6 |
| src/backend/utils/adt/arrayfuncs.c | modified | +1 −1 |
| src/backend/utils/adt/datum.c | modified | +3 −3 |
| src/backend/utils/adt/like_support.c | modified | +2 −2 |
| src/backend/utils/adt/numeric.c | modified | +3 −3 |
| src/backend/utils/adt/rangetypes.c | modified | +2 −2 |
| src/backend/utils/adt/rowtypes.c | modified | +2 −2 |
| src/backend/utils/cache/evtcache.c | modified | +1 −1 |
| src/include/fmgr.h | modified | +1 −1 |
Discussion
- get rid of Pointer type, mostly 26 messages · 2025-11-24 → 2026-02-09