Re: extensible external toast tuple support

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: extensible external toast tuple support
Дата
Msg-id CA+Tgmoa_4qCB0EdH2bz22Zetkd7hgQCeQTLai349dG4gmmEKow@mail.gmail.com
обсуждение исходный текст
Ответ на Re: extensible external toast tuple support  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: extensible external toast tuple support  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, Jun 27, 2013 at 12:56 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> Please find attached the next version of the extensible toast
> support. There basically are two changes:
>
> * handle indirect toast tuples properly in heap_tuple_fetch_attr
>   and related places
> * minor comment adjustments

It looks to me like you need to pass true, rather than false, as the
first argument to TrapMacro:

+#define VARTAG_SIZE(tag) \
+       ((tag) == VARTAG_INDIRECT ? sizeof(varatt_indirect) :           \
+        (tag) == VARTAG_ONDISK ? sizeof(varatt_external) : \
+        TrapMacro(false, "unknown vartag"))

Still looking at the rest of this.

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



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: proposal: enable new error fields in plpgsql (9.4)
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: enable new error fields in plpgsql (9.4)