Обсуждение: pgsql/src/include/access (tuptoaster.h)

Поиск
Список
Период
Сортировка

pgsql/src/include/access (tuptoaster.h)

От
Tom Lane
Дата:
  Date: Friday, August  4, 2000 @ 00:16:15
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/access
     from hub.org:/home/projects/pgsql/tmp/cvs-serv71982/include/access

Modified Files:
    tuptoaster.h

-----------------------------  Log Message  -----------------------------

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.