pgsql: In transam.h,don't expose static inline functions to frontend c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: In transam.h,don't expose static inline functions to frontend c
Дата
Msg-id E1hTSNw-0007qj-CG@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
In transam.h, don't expose static inline functions to frontend code.

That leads to unsatisfied external references if the C compiler fails
to elide unused static functions.  Apparently, we have no buildfarm
members building HEAD that have that issue ... but such compilers still
exist in the wild.  Need to do something about that.

In passing, fix Berkeley-era typo in comment.

Discussion: https://postgr.es/m/27054.1558533367@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4fbf809e13c3ba09c4f03d148cb58767e56f67f1

Modified Files
--------------
src/include/access/transam.h | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Add .gitignore entries for new ecpg test case.