Re: tableam vs. TOAST

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: tableam vs. TOAST
Дата
Msg-id CA+Tgmoa-hTDuntR_RKCvhh=sZcDc500Qd_3=BBgbDZ2ny4YrhQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tableam vs. TOAST  (Andres Freund <andres@anarazel.de>)
Ответы Re: tableam vs. TOAST  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, Sep 5, 2019 at 4:07 PM Andres Freund <andres@anarazel.de> wrote:
> Yea, makes sense to me.

OK, done.  Here's the remaining patches again, with a slight update to
the renaming patch (now 0002).  In the last version, I renamed
toast_insert_or_update to heap_toast_insert_or_update but did not
rename toast_delete to heap_toast_delete.  Actually, I'm not seeing
any particular reason not to go ahead and push the renaming patch at
this point also.  I guess there's a question as to whether I should
more aggressively add "heap" to the names of the other functions in
heaptoast.h, but I'm kinda "meh" about that.  It seems likely that
other AMs will need their own versions of toast_insert_or_update() and
toast_delete(), but they shouldn't really need their own version of,
say, toast_flatten_tuple_to_datum(), and the point there is that we're
building a DatumTuple, so calling it
heap_toast_flatten_tuple_to_datum() seems almost misleading.  I'm
inclined to leave all that stuff alone for now.

0001 needs more thought, as discussed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera from 2ndQuadrant
Дата:
Сообщение: Re: [proposal] de-TOAST'ing using a iterator
Следующее
От: Alvaro Herrera from 2ndQuadrant
Дата:
Сообщение: Re: Unix-domain socket support on Windows