Don't expose the inline definition of MemoryContextSwitchTo when FRONTEND is
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Feb 2010 20:46:52 +0000 (20:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Feb 2010 20:46:52 +0000 (20:46 +0000)
commita306761abc9380cab7e57aa2d9b906fb7ef46873
tree147c619f6e0a28436581c666994d5bd982dc179b
parent4ab4b54aa88384f2066eeb6477fc88ab738a1499
Don't expose the inline definition of MemoryContextSwitchTo when FRONTEND is
defined.  Its reference to CurrentMemoryContext causes link failures on some
platforms, evidently because the inline function gets compiled despite lack of
use.  Per buildfarm member warthog.
src/include/utils/palloc.h