On Sun, Feb 16, 2014 at 9:38 PM, Rémi Cura <remi.cura@xxxxxxxxx> wrote:
(a for loop and calling it several time?).I found a function in http://doxygen.postgresql.org/tuptoaster_8c.html# called toast_fetch_datum_slice, is it the right way to use itHey Dear List,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... ).
could somebody point me to some ressources about getting only parts of toasted data?
"pg_detoast_datum_slice" is the function which will solve your problem.
Regards,
Hari Babu
Fujitsu Australia