Re: doubts about toast_flatten_tuple_attribute/heap_form_tuple

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: doubts about toast_flatten_tuple_attribute/heap_form_tuple
Date: 2008-10-07 14:37:36
Message-ID: 14272.1223390256@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2008-10-07 14:40:14 Re: Reducing some DDL Locks to ShareLock
Previous Message Alvaro Herrera 2008-10-07 14:37:07 Re: [PATCHES] Infrastructure changes for recovery