Remove fe_memutils from libpgcommon_shlib

Peter Eisentraut <peter@eisentraut.org>

Commit: f1976df5eaf277f6f761306ce06ae32141438096
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-08-12T06:30:39Z
Releases: 18.0
Remove fe_memutils from libpgcommon_shlib

libpq must not use palloc/pfree. It's not allowed to exit on allocation
failure, and mixing the frontend pfree with malloc is architecturally
unsound.

Remove fe_memutils from the shlib build entirely, to keep devs from
accidentally depending on it in the future.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/CAOYmi+=pg=W5L1h=3MEP_EB24jaBu2FyATrLXqQHGe7cpuvwyg@mail.gmail.com

Files

PathChange+/−
src/common/Makefile modified +3 −2
src/common/meson.build modified +3 −2

Discussion