pgsql: Change InitToastSnapshot to a macro. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Change InitToastSnapshot to a macro.
Date
Msg-id E1bVhbY-0005QQ-Tz@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Change InitToastSnapshot to a macro.
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Fix hard to hit race condition in heapam's tuple locking code.
Next
From: Tom Lane
Date:
Subject: pgsql: Update time zone data files to tzdata release 2016f.