]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Re-introduce pgstat_drop_entry(), keeping ABI compatibility
authorMichael Paquier <michael@paquier.xyz>
Mon, 22 Jun 2026 22:59:00 +0000 (07:59 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 22 Jun 2026 22:59:00 +0000 (07:59 +0900)
commitafb076b2977c39efec873cde2dceacd97be243a6
tree8c4327871c4d3b22ed38859810a2b2015d3de2a1
parent011eedcdc3fe04000c46881333aaa0ac70a1aa1f
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
.abi-compliance-history
src/backend/utils/activity/pgstat_function.c
src/backend/utils/activity/pgstat_replslot.c
src/backend/utils/activity/pgstat_shmem.c
src/backend/utils/activity/pgstat_xact.c
src/include/utils/pgstat_internal.h