-
- Downloads
Fix tuptoaster bugs induced by making bytea toastable. Durn thing was
trying to toast tuples inserted into toast tables! Fix is two-pronged: first, ensure all columns of a toast table are marked attstorage='p', and second, alter the target chunk size so that it's less than the threshold for trying to toast a tuple. (Code tried to do that but the expression was wrong.) A few cosmetic cleanups in tuptoaster too. NOTE: initdb forced due to change in toaster chunk-size.
Showing
- src/backend/access/heap/heapam.c 8 additions, 6 deletionssrc/backend/access/heap/heapam.c
- src/backend/access/heap/tuptoaster.c 46 additions, 50 deletionssrc/backend/access/heap/tuptoaster.c
- src/backend/commands/command.c 9 additions, 1 deletionsrc/backend/commands/command.c
- src/include/access/tuptoaster.h 42 additions, 10 deletionssrc/include/access/tuptoaster.h
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
Loading
Please register or sign in to comment