]> granicus.if.org Git - postgresql/commit
Fix portability problem induced by commit a6f6b7819.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Apr 2016 14:44:28 +0000 (10:44 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Apr 2016 14:44:28 +0000 (10:44 -0400)
commit6b85d4ba9b09dc94cf1b14aef517da095a83cdbb
tree3324b2a0b34cda02b2963c5506f3881af9d084c4
parentba8fe38f58e2f3d86c5361373598af80d5ce4443
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.
src/backend/storage/buffer/bufmgr.c
src/include/storage/bufmgr.h