Make our back branches build under -fkeep-inline-functions.
authorTom Lane
Fri, 20 Jan 2023 16:58:12 +0000 (11:58 -0500)
committerTom Lane
Fri, 20 Jan 2023 16:58:12 +0000 (11:58 -0500)
commit21c058648ec2cd257b7b8bb10b98e08564a685a4
treeac58b68fbe16a266a9225503979b09ff3e167059
parent1034507245571a4a8e614299afe3f2e2ae858c27
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.
src/include/utils/rel.h
src/include/utils/snapmgr.h