pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove fe_memutils from libpgcommon_shlib
Date: Mon, 12 Aug 2024 06:36:18 +0000
Message-ID: <E1sdOfC-003og7-GK@gemulon.postgresql.org> (raw)

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...

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(-)



Message-ID: <E1sdOfC-003og7-GK@gemulon.postgresql.org>
Permalink:  ../E1sdOfC-003og7-GK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sdOfC-003og7-GK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove fe_memutils from libpgcommon_shlib
  In-Reply-To: <E1sdOfC-003og7-GK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox