pgsql: Avoid unsatisfied-external-reference errors in static inlines.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Avoid unsatisfied-external-reference errors in static inlines.
Дата
Msg-id E1oBgIW-002ehP-VJ@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Avoid unsatisfied-external-reference errors in static inlines.  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-committers
Avoid unsatisfied-external-reference errors in static inlines.

Commit 9c727360b neglected the lesson we've learned before:
protect references to backend global variables with #ifndef FRONTEND.

Since there's already a place for static inlines in this file,
move the just-converted functions to that stanza.  Undo the
entirely gratuitous de-macroization of RelationGetNumberOfBlocks
(that one may be okay, since it has no global variable references,
but it's also pointless).

Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/27d2693187d1bcf2563ee7142ba37d4788c8d52b

Modified Files
--------------
src/include/storage/bufmgr.h | 166 +++++++++++++++++++++----------------------
1 file changed, 80 insertions(+), 86 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use wildcards instead of manually-maintained file lists in */nls
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Avoid unsatisfied-external-reference errors in static inlines.