Re: [HACKERS] Arbitrary tuple size - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Arbitrary tuple size
Date
Msg-id 378488A3.76A05334@krs.ru
Whole thread Raw
In response to Arbitrary tuple size  (wieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] Arbitrary tuple size
List pgsql-hackers
Jan Wieck wrote:
> 
>     What about adding  one  more  ItemPointerData  to  the  tuple
>     header  which holds the ctid of a DATA continuation tuple. If

Oh no. Fortunately we need not in this: we can just add new flag
to t_infomask and add continuation tid at the end of tuple chunk.
Ok?

>     a tuple doesn't fit into one block, this will tell  where  to
>     get  the  next  chunk of tuple data building a chain until an
>     invalid ctid is found. The continuation  tuples  can  have  a
>     negative  t_natts  to  be  easily  identified  and ignored by
>     scanning routines.
...
> 
>     I'm not sure how to handle this with vacuum,  but  I  believe
>     Vadim is able to put some well placed goto's that make it.

-:)))
Ok, ok - I have great number of goto-s in my pocket -:)

Vadim


pgsql-hackers by date:

Previous
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] Delaying insertion of default values
Next
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Delaying insertion of default values