pgsql: Make our back branches build under -fkeep-inline-functions.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make our back branches build under -fkeep-inline-functions.
Date: 2023-01-20 16:58:30
Message-ID: E1pIuik-004e5W-CD@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make our back branches build under -fkeep-inline-functions.

Add "#ifndef FRONTEND" where necessary to make pg_waldump build
on compilers that don't elide unused static-inline functions.

This back-patches relevant parts of commit 3e9ca5260, fixing build
breakage from dc7420c2c and back-patching of f10f0ae42.

Per recently-resurrected buildfarm member castoroides. We aren't
expecting castoroides to build anything newer than v11, but we
might as well clean up the intermediate branches while at it.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/21c058648ec2cd257b7b8bb10b98e08564a685a4

Modified Files
--------------
src/include/utils/rel.h | 2 ++
src/include/utils/snapmgr.h | 2 ++
2 files changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2023-01-20 19:11:37 pgsql: Describe each contrib module in its SGML section title
Previous Message Andres Freund 2023-01-20 02:57:50 pgsql: Remove SHM_QUEUE