Tighten short-circuit tests for deciding whether we need to invoke
Tom Lane <tgl@sss.pgh.pa.us>
Tighten short-circuit tests for deciding whether we need to invoke tuptoaster.c --- fields that are compressed in-line are not a reason to invoke the toaster. Along the way, add a couple more htup.h macros to eliminate confusing negated tests, and get rid of the already vestigial TUPLE_TOASTER_ACTIVE symbol.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/heaptuple.c | modified | +5 −8 |
| src/backend/access/heap/heapam.c | modified | +13 −19 |
| src/include/access/htup.h | modified | +7 −1 |
| src/include/postgres.h | modified | +1 −3 |