pgsql: Change InitToastSnapshot to a macro.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Change InitToastSnapshot to a macro.
Дата
Msg-id E1bVhbY-0005QQ-Tz@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Change InitToastSnapshot to a macro.
Список pgsql-committers
Change InitToastSnapshot to a macro.

tqual.h is included in some front-end compiles, and a static inline
breaks on buildfarm member castoroides.  Since the macro is never
referenced, it should dodge that problem, although this doesn't
seem like the cleanest way of hiding things from front-end compiles.

Report and review by Tom Lane; patch by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/81c766b3fd41c78c634d78ebae8d316808dfc630

Modified Files
--------------
src/backend/access/heap/tuptoaster.c |  2 +-
src/include/utils/tqual.h            | 11 ++++-------
2 files changed, 5 insertions(+), 8 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix hard to hit race condition in heapam's tuple locking code.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Update time zone data files to tzdata release 2016f.