]> granicus.if.org Git - postgresql/commit
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)
commit7507b193bc54a3e9b351d32b47d0f9e71e5d97cd
tree88387dd1b11ae5f7fd81eca44daa07480333cace
parent8eccf7614baa6cab004d79bd0e79f19e0c31f304
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