Toast and slice of toast - Mailing list pgsql-general

From Rémi Cura
Subject Toast and slice of toast
Date
Msg-id CAJvUf_vCJj17G6a7MUuL+o9qDNQ-Qv6Zf3D5TSd4pr8Kj-2UCA@mail.gmail.com
Whole thread Raw
Responses Re: Toast and slice of toast  (Haribabu Kommi <kommi.haribabu@gmail.com>)
List pgsql-general
Hey Dear List,
could somebody point me to some ressources about getting only parts of toasted data?

I have a very big custom type and I would like to take blocks of it (like byte A to B then byte C to D  then... ).

I found a function in http://doxygen.postgresql.org/tuptoaster_8c.html# called toast_fetch_datum_slice, is it the right way to use it
(a for loop and calling it several time?).

Thanks,

Cheers

Rémi-C

pgsql-general by date:

Previous
From: James Harper
Date:
Subject: typmod for custom type
Next
From: Francisco Olarte
Date:
Subject: Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?