pgsql: Hide a static inline from FRONTEND code.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Hide a static inline from FRONTEND code.
Date: 2018-09-10 16:47:09
Message-ID: E1fzPLB-0008Ne-KZ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hide a static inline from FRONTEND code.

For some reason pg_waldump is including tuptable.h, and the recent
addition of a static inline function to it is causing problems on
older buildfarm members that fail to optimize such functions away
completely. I wonder if this situation doesn't mean that some header
refactoring is called for ... but as a band-aid, wrap the static
function in "#ifndef FRONTEND".

Discussion: https://postgr.es/m/20180824154237.mabsv6fsz5q37bma@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/14ea36520389dbb1b48524223cf09389154a0f2e

Modified Files
--------------
src/include/executor/tuptable.h | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-09-11 02:22:25 pgsql: Use -Bsymbolic for shared libraries on HP-UX and Solaris.
Previous Message Tom Lane 2018-09-09 19:17:21 pgsql: Prevent mis-linking of src/port and src/common functions on *BSD