Re: doubts about toast_flatten_tuple_attribute/heap_form_tuple

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: doubts about toast_flatten_tuple_attribute/heap_form_tuple
Дата
Msg-id 14272.1223390256@sss.pgh.pa.us
обсуждение исходный текст
Ответ на doubts about toast_flatten_tuple_attribute/heap_form_tuple  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> I'm trying write tuple conversion function and now I'm hit problem with 
> composite data types. Composite data types can contain inner composite 
> data types. Is there any limit?

No.

> And I found that heap_form_tuple calls 
>   toast_flatten_tuple_attribute only one level composite type. Is it bug?

No, because any composite value that's being presented for inclusion in
the new tuple was already flattened when it was formed.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCHES] Infrastructure changes for recovery
Следующее
От: "Robert Haas"
Дата:
Сообщение: Re: Reducing some DDL Locks to ShareLock