postgresql/src/interfaces
Peter Eisentraut 30652b356d Fix mismatched deallocation functions
In fe_memutils.h, we have various allocation functions beginning with
either pg_ or p.  The pg_ functions have a matching pg_free() for
freeing memory, while the p functions use pfree().  In some cases, we
were allocating memory with one set of functions while using the wrong
deallocation functions.  This creates a tiny bit of mental overhead
when reading code.  Matching up allocation and deallocation functions
makes it easier to analyze memory handling in a code path.

Author: Tristan Partin <tristan@partin.io>
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Discussion: https://www.postgresql.org/message-id/flat/DIBZE2B6SVF2.28R3EQTYJSWIG@partin.io
2026-07-01 13:50:08 +02:00
..
ecpg Fix mismatched deallocation functions 2026-07-01 13:50:08 +02:00
libpq Fix PQdescribePrepared with more than 7498 params 2026-06-15 11:28:45 +03:00
libpq-oauth libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE 2026-06-17 09:57:20 -07:00
Makefile oauth: Move the builtin flow into a separate module 2025-05-01 09:14:30 -07:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00