pgsql: Fix portability problem induced by commit a6f6b7819.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix portability problem induced by commit a6f6b7819.
Date: 2016-04-15 14:44:34
Message-ID: E1ar4z4-0000fw-Lh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-04-15 15:54:36 pgsql: Tweak EXPLAIN for parallel query to show workers launched.
Previous Message Magnus Hagander 2016-04-15 11:33:22 pgsql: Fix typo in comment