Avoid creating a TOAST table if we can prove that the maximum tuple
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Aug 2000 18:05:54 +0000 (18:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Aug 2000 18:05:54 +0000 (18:05 +0000)
commit3d3ca010aa7d74f9f88ee7f3659c49dee0dcee6b
tree53f7897823e6e525a6e83d708948ab01ec152b95
parenta5da56d320970e76687f3d73e930952d5a8c87f2
Avoid creating a TOAST table if we can prove that the maximum tuple
length is < TOAST_TUPLE_THRESHOLD, even with toastable column types
present.  For example, CREATE TABLE foo (f1 int, f2 varchar(100))
does not require a toast table, even though varchar is a toastable
type.
src/backend/commands/command.c
src/backend/utils/adt/format_type.c
src/include/utils/builtins.h