agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Re-introduce pgstat_drop_entry(), keeping ABI compatibility
Date: Mon, 22 Jun 2026 22:59:41 +0000
Message-ID: <E1wbncD-001SXV-1a@gemulon.postgresql.org> (raw)
Re-introduce pgstat_drop_entry(), keeping ABI compatibility
This routine acts as a wrapper of a new pgstat_drop_entry_ext(), used in
the core code with a missing_ok argument.
This includes an update of .abi-compliance-history, removing the latest
entry that has documented the change of pgstat_drop_entry(). This
change is applied across v15~v18. HEAD keeps pgstat_drop_entry() as
single entry point, with the new missing_ok.
Per discussion with Álvaro Herrera and Lukas Fittl. This is a follow-up
of 850b9218c8e4.
Discussion: https://postgr.es/m/ajZz_sVJVX7pmPHo@alvherre.pgsql
Backpatch-through: 15-18
Branch
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/fe464e9e68633c471e8ecb83adb7151decdd437e
Modified Files
--------------
.abi-compliance-history | 9 ---------
src/backend/utils/activity/pgstat.c | 2 +-
src/backend/utils/activity/pgstat_function.c | 4 ++--
src/backend/utils/activity/pgstat_replslot.c | 4 ++--
src/backend/utils/activity/pgstat_shmem.c | 17 ++++++++++++++---
src/backend/utils/activity/pgstat_xact.c | 8 ++++----
src/include/utils/pgstat_internal.h | 5 +++--
src/test/modules/injection_points/injection_stats.c | 4 ++--
8 files changed, 28 insertions(+), 25 deletions(-)
view thread (4+ messages) latest in thread
Message-ID: <E1wbncD-001SXV-1a@gemulon.postgresql.org>
Permalink: ../E1wbncD-001SXV-1a@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wbncD-001SXV-1a@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Re-introduce pgstat_drop_entry(), keeping ABI compatibility
In-Reply-To: <E1wbncD-001SXV-1a@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox