-
- Downloads
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.
Showing
- src/backend/catalog/toasting.c 17 additions, 8 deletionssrc/backend/catalog/toasting.c
- src/backend/commands/cluster.c 2 additions, 2 deletionssrc/backend/commands/cluster.c
- src/backend/commands/tablecmds.c 2 additions, 2 deletionssrc/backend/commands/tablecmds.c
- src/backend/executor/execMain.c 2 additions, 2 deletionssrc/backend/executor/execMain.c
- src/backend/tcop/utility.c 6 additions, 3 deletionssrc/backend/tcop/utility.c
- src/include/catalog/toasting.h 2 additions, 2 deletionssrc/include/catalog/toasting.h
Loading
Please register or sign in to comment