]> granicus.if.org Git - postgresql/commit
Add an option to AlterTableCreateToastTable() to allow its caller to force
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 May 2009 22:58:28 +0000 (22:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 May 2009 22:58:28 +0000 (22:58 +0000)
commit1e06ed1abe6244573683dd1220042c8f06112ed0
tree46d1ac63bb10b990fe705aea4ea4d08f574cd82f
parent48caf91b66fda69ffaf0d0aeb54ee41c6727ea2d
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