pgsql: Remove fe_memutils from libpgcommon_shlib - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove fe_memutils from libpgcommon_shlib
Date
Msg-id E1sdOfC-003og7-GK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f1976df5eaf277f6f761306ce06ae32141438096

Modified Files
--------------
src/common/Makefile    | 5 +++--
src/common/meson.build | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Remove support for old realpath() API
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove dead code