Обсуждение: pgsql: Don't expose the inline definition of MemoryContextSwitchTo when

Поиск
Список
Период
Сортировка

pgsql: Don't expose the inline definition of MemoryContextSwitchTo when

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/include/utils:
        palloc.h (r1.43 -> r1.44)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/palloc.h?r1=1.43&r2=1.44)