Change InitToastSnapshot to a macro.

Robert Haas <rhaas@postgresql.org>

Commit: 81c766b3fd41c78c634d78ebae8d316808dfc630
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-08-05T15:58:03Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/backend/access/heap/tuptoaster.c modified +1 −1
src/include/utils/tqual.h modified +4 −7