• Tom Lane's avatar
    Decouple the values of TOAST_TUPLE_THRESHOLD and TOAST_MAX_CHUNK_SIZE. · b3005276
    Tom Lane authored
    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.
    b3005276
tuptoaster.c 35.7 KB