]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix ABI break by moving PROCSIG_SLOTSYNC_MESSAGE in ProcSignalReason
authorFujii Masao <fujii@postgresql.org>
Thu, 9 Apr 2026 06:30:59 +0000 (15:30 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 9 Apr 2026 06:30:59 +0000 (15:30 +0900)
commit586f4266fb4945f6ea3564b9c1bab093eb74bee4
treec54d59e98a52d147a5d9f88546d3d248f1ffdcbe
parent15910b1c363f47b3984d24a91ed75ddac36070d8
Fix ABI break by moving PROCSIG_SLOTSYNC_MESSAGE in ProcSignalReason

Commit 15910b1c363 PROCSIG_SLOTSYNC_MESSAGE in the middle of
enum ProcSignalReason, breaking the ABI.

Fix this by moving PROCSIG_SLOTSYNC_MESSAGE to just before the last entry,
NUM_PROCSIGNALS, to restore ordering of other entries.

This increases the value of NUM_PROCSIGNALS, which technically changes the ABI.
However, since it represents the number of enum entries (not a signal reason),
and no affected third-party code is known, this change will be recorded in
.abi-compliance-history later.

Per buildfarm member crake.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Nisha Moond <nisha.moond412@gmail.com>
Discussion: https://postgr.es/m/CAHGQGwH_AAbtsiYDJt65N7_4PJ0CgOJmBEaCq68e5_tcuG_vXw@mail.gmail.com
Backpatch-through: 17 only
src/include/storage/procsignal.h