]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use palloc_object() and palloc_array(), the last change
authorMichael Paquier <michael@paquier.xyz>
Thu, 11 Dec 2025 05:29:12 +0000 (14:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 11 Dec 2025 05:29:12 +0000 (14:29 +0900)
commit4f7dacc5b82af19788599671abe4ac633fd7ea4c
treeed300c55995b1608d2ef8ddafdc3abe5a2819a90
parent3f83de20ba2e1d4bd557d92b3436ca04b7c947a8
Use palloc_object() and palloc_array(), the last change

This is the last batch of changes that have been suggested by the
author, this part covering the non-trivial changes.  Some of the changes
suggested have been discarded as they seem to lead to more instructions
generated, leaving the parts that can be qualified as in-place
replacements.

Similar work has been done in 1b105f9472bd0c3c5c3b06a3 and
31d3847a37be.

Author: David Geier <geidav.pg@gmail.com>
Discussion: https://postgr.es/m/ad0748d4-3080-436e-b0bc-ac8f86a3466a@gmail.com
contrib/pg_buffercache/pg_buffercache_pages.c
contrib/pg_trgm/trgm_op.c
contrib/postgres_fdw/postgres_fdw.c
src/backend/executor/execPartition.c
src/backend/partitioning/partprune.c
src/backend/statistics/mvdistinct.c
src/backend/storage/buffer/bufmgr.c