pgsql: In transam.h,don't expose static inline functions to frontend c - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: In transam.h,don't expose static inline functions to frontend c
Date
Msg-id E1hTSNw-0007qj-CG@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
In transam.h, don't expose static inline functions to frontend code.

That leads to unsatisfied external references if the C compiler fails
to elide unused static functions.  Apparently, we have no buildfarm
members building HEAD that have that issue ... but such compilers still
exist in the wild.  Need to do something about that.

In passing, fix Berkeley-era typo in comment.

Discussion: https://postgr.es/m/27054.1558533367@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4fbf809e13c3ba09c4f03d148cb58767e56f67f1

Modified Files
--------------
src/include/access/transam.h | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.
Next
From: Tom Lane
Date:
Subject: pgsql: Add .gitignore entries for new ecpg test case.