Decouple the values of TOAST_TUPLE_THRESHOLD and TOAST_MAX_CHUNK_SIZE.

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

Commit: b3005276eb42bbe9c0975ab8d9aa6f1ebe86850c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-04-03T04:14:26Z
Releases: 8.3.0
Decouple the values of TOAST_TUPLE_THRESHOLD and TOAST_MAX_CHUNK_SIZE.
Add the latter to the values checked in pg_control, since it can't be changed
without invalidating toast table content.  This commit in itself shouldn't
change any behavior, but it lays some necessary groundwork for experimentation
with these toast-control numbers.

Note: while TOAST_TUPLE_THRESHOLD can now be changed without initdb, some
thought still needs to be given to needs_toast_table() in toasting.c before
unleashing random changes.

Files