summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-12-05 16:40:26 +0900
committerMichael Paquier <michael@paquier.xyz>2025-12-05 16:40:26 +0900
commit31d3847a37bec060fb4177b2fc6c0fdfc7a08011 (patch)
treec93bc37750ca509c99f123dc88f320d98bec15ba /src/backend/utils/adt/float.c
parent2f04110225ab30fbd9889d6f5d73fd6b3e1b308b (diff)
Use more palloc_object() and palloc_array() in contrib/
The idea is to encourage more the use of these new routines across the tree, as these offer stronger type safety guarantees than palloc(). In an ideal world, palloc() would then act as an internal routine of these flavors, whose footprint in the tree is minimal. The patch sent by the author is very large, and this chunk of changes represents something like 10% of the overall patch submitted. The code compiled is the same before and after this commit, using objdump to do some validation with a difference taken in-between. There are some diffs, which are caused by changes in line numbers because some of the new allocation formulas are shorter, for the following files: trgm_regexp.c, xpath.c and pg_walinspect.c. Author: David Geier <geidav.pg@gmail.com> Discussion: https://postgr.es/m/ad0748d4-3080-436e-b0bc-ac8f86a3466a@gmail.com
Diffstat (limited to 'src/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions