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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: In transam.h, don't expose static inline functions to frontend c
Date: 2019-05-22 14:38:28
Message-ID: E1hTSNw-0007qj-CG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-05-22 14:42:27 pgsql: Add .gitignore entries for new ecpg test case.
Previous Message Robert Haas 2019-05-22 12:01:51 Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.