Add an option to AlterTableCreateToastTable() to allow its caller to force

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

Commit: 1e06ed1abe6244573683dd1220042c8f06112ed0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-05-07T22:58:28Z
Releases: 8.4.0
Add an option to AlterTableCreateToastTable() to allow its caller to force
a toast table to be built, even if the sum-of-column-widths calculation
indicates one isn't needed.  This is needed by pg_migrator because if the
old table has a toast table, we have to migrate over the toast table since
it might contain some live data, even though subsequent column drops could
mean that no recently-added rows could require toasting.

Files