Fix portability problem induced by commit a6f6b7819.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6b85d4ba9b09dc94cf1b14aef517da095a83cdbb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-04-15T14:44:28Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/backend/storage/buffer/bufmgr.c modified +1 −1
src/include/storage/bufmgr.h modified +12 −1