]> granicus.if.org Git - postgresql/commit
Change InitToastSnapshot to a macro.
authorRobert Haas <rhaas@postgresql.org>
Fri, 5 Aug 2016 15:57:00 +0000 (11:57 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 5 Aug 2016 15:58:03 +0000 (11:58 -0400)
commit81c766b3fd41c78c634d78ebae8d316808dfc630
tree30b95d6aa9a8af814183201a55b18e4330033ce3
parente7caacf733f3ee77a555aa715ab6fbf4434e6b52
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.
src/backend/access/heap/tuptoaster.c
src/include/utils/tqual.h