postgresql/contrib/bloom
Michael Paquier 31d3847a37 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
2025-12-05 16:40:26 +09:00
..
expected Remove incidental md5() function uses from several tests 2023-07-04 14:31:57 +02:00
sql Remove incidental md5() function uses from several tests 2023-07-04 14:31:57 +02:00
t Update copyright for 2025 2025-01-01 11:21:55 -05:00
.gitignore Bloom index contrib module 2016-04-01 16:42:24 +03:00
blcost.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
blinsert.c Use more palloc_object() and palloc_array() in contrib/ 2025-12-05 16:40:26 +09:00
bloom--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
bloom.control Bloom index contrib module 2016-04-01 16:42:24 +03:00
bloom.h Don't rely on pointer arithmetic with Pointer type 2025-12-03 09:54:15 +01:00
blscan.c Use more palloc_object() and palloc_array() in contrib/ 2025-12-05 16:40:26 +09:00
blutils.c Use more palloc_object() and palloc_array() in contrib/ 2025-12-05 16:40:26 +09:00
blvacuum.c Use more palloc_object() and palloc_array() in contrib/ 2025-12-05 16:40:26 +09:00
blvalidate.c Add get_opfamily_name() function 2025-02-01 10:42:58 +01:00
Makefile Re-enable contrib/bloom's TAP tests. 2021-09-27 18:48:01 -04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00