Add an option to AlterTableCreateToastTable() to allow its caller to force
commitb9c8a4c6f62c02823493619ebce1229812226b38
authortgl <tgl>
Thu, 7 May 2009 22:58:28 +0000 (7 22:58 +0000)
committertgl <tgl>
Thu, 7 May 2009 22:58:28 +0000 (7 22:58 +0000)
tree5ba5fb3cb588ffe6071619cae36523dfa93739a9
parent6917ae1b217c15bca291face0da4eb2b57a2e919
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.
src/backend/catalog/toasting.c
src/backend/commands/cluster.c
src/backend/commands/tablecmds.c
src/backend/executor/execMain.c
src/backend/tcop/utility.c
src/include/catalog/toasting.h