pgsql: Assume "inline" keyword is available.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Assume "inline" keyword is available.
Date: 2026-02-19 20:37:52
Message-ID: E1vtAmW-000By3-1x@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Assume "inline" keyword is available.

This has been a keyword since C99, and we now require C11, so we no
longer need to use __inline__ or to check for it at configure time.

Reviewed-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/aZdGbDaV4_yKCMc-%40nathan

Branch
------
master

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

Modified Files
--------------
configure | 42 -------------------------------------
configure.ac | 1 -
src/include/pg_config.h.in | 6 ------
src/include/port/atomics/arch-x86.h | 2 +-
src/include/storage/s_lock.h | 24 ++++++++++-----------
5 files changed, 13 insertions(+), 62 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2026-02-19 22:20:28 pgsql: Remove SpinLockFree() and S_LOCK_FREE().
Previous Message Robert Haas 2026-02-19 19:29:41 pgsql: Fix add_partial_path interaction with disabled_nodes