postgresql/src
David Rowley a63bbc811d Use stack-allocated StringInfoDatas, where possible
6d0eba662 already did most of the changes, but some new ones snuck in
just prior to that commit, so these got missed.

Having these short-lived StringInfoDatas on the stack rather than having
them get palloc'd by makeStringInfo() is simply for performance as it
saves doing a 2nd palloc.

Since this code is new to v19, it makes sense to improve it now rather
than wait until we branch as having v19 and v20 differ here just makes it
harder to backpatch fixes in this area.

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/adt4wpj4FZwR+S7I@ip-10-97-1-34.eu-west-3.compute.internal
2026-04-13 10:43:19 +12:00
..
backend Use stack-allocated StringInfoDatas, where possible 2026-04-13 10:43:19 +12:00
bin Use size_t instead of Size in pg_waldump 2026-04-10 09:29:00 -04:00
common Fix heap-buffer-overflow in pglz_decompress() on corrupt input. 2026-04-10 07:13:08 -04:00
fe_utils Support more object types within CREATE SCHEMA. 2026-04-06 15:16:25 -04:00
include Adjust log level of logical decoding messages by context 2026-04-10 22:59:34 +09:00
interfaces libpq: Split PGOAUTHDEBUG=UNSAFE into multiple options 2026-04-07 08:15:14 -07:00
makefiles Add CONCURRENTLY option to REPACK 2026-04-06 21:55:08 +02:00
pl Remove MULE_INTERNAL encoding. 2026-04-08 17:40:06 +12:00
port instrumentation: Avoid CPUID 0x15/0x16 for Hypervisor TSC frequency 2026-04-09 11:50:46 -04:00
template Switch the semaphore API on Solaris to unnamed POSIX. 2026-03-14 14:10:32 -04:00
test Honor passed-in database OIDs in pgstat_database.c 2026-04-11 17:02:52 +09:00
timezone Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
tools Remove RADIUS support. 2026-04-08 22:38:43 +12:00
tutorial Force standard_conforming_strings to always be ON. 2026-01-21 15:08:38 -05:00
.gitignore
DEVELOPERS
Makefile Add CONCURRENTLY option to REPACK 2026-04-06 21:55:08 +02:00
Makefile.global.in Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
Makefile.shlib Restore AIX support. 2026-02-23 13:34:22 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00