pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix portability problem induced by commit a6f6b7819.
Date: Fri, 15 Apr 2016 14:44:34 +0000
Message-ID: <E1ar4z4-0000fw-Lh@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Fix portability problem induced by commit a6f6b7819.

pg_xlogdump includes bufmgr.h.  With a compiler that emits code for
static inline functions even when they're unreferenced, that leads
to unresolved external references in the new static-inline version
of BufferGetPage().  So hide it with #ifndef FRONTEND, as we've done
for similar issues elsewhere.  Per buildfarm member pademelon.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6b85d4ba9b09dc94cf1b14aef517da095a83cdbb

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c |  2 +-
src/include/storage/bufmgr.h        | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1ar4z4-0000fw-Lh@gemulon.postgresql.org>
Permalink:  ../E1ar4z4-0000fw-Lh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ar4z4-0000fw-Lh@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix portability problem induced by commit a6f6b7819.
  In-Reply-To: <E1ar4z4-0000fw-Lh@gemulon.postgresql.org>
  References: <E1ar4z4-0000fw-Lh@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox