Tighten short-circuit tests for deciding whether we need to invoke

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0966516b75f792cfa9fd6a53fc370e06cfca6bee
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-16T20:51:30Z
Releases: 8.0.0
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

PathChange+/−
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