postgresql/src/bin/scripts
Michael Paquier 574bee89c2 Use pg_malloc_object() and pg_alloc_array() variants in frontend code
This commit updates the frontend tools (src/bin/, contrib/ and
src/test/) to use the memory allocation variants based on
pg_malloc_object() and pg_malloc_array() in various code paths.  This
does not cover all the allocations, but a good chunk of them.

Like all the changes of this kind (31d3847a37, etc.), this should
encourage any future code to use this new style.

Author: Andreas Karlsson <andreas@proxel.se>
Discussion: https://postgr.es/m/cfb645da-6b3a-4f22-9bcc-5bc46b0e9c61@proxel.se
2026-02-27 18:59:41 +09:00
..
po Update copyright for 2026 2026-01-01 13:24:10 -05:00
t Disallow CR and LF in database, role, and tablespace names 2026-02-23 11:19:13 -05:00
.gitignore Remove createlang and droplang 2017-03-23 14:16:45 -04:00
clusterdb.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
common.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
common.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
createdb.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
createuser.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
dropdb.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
dropuser.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
Makefile Update copyright for 2026 2026-01-01 13:24:10 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls.mk Split vacuumdb to create vacuuming.c/h 2025-09-26 16:21:28 +02:00
pg_isready.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
reindexdb.c Use pg_malloc_object() and pg_alloc_array() variants in frontend code 2026-02-27 18:59:41 +09:00
vacuumdb.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
vacuuming.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
vacuuming.h Update copyright for 2026 2026-01-01 13:24:10 -05:00