From: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
---|---|
To: | Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Stas Kelvich <stas(dot)kelvich(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-students(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Cube extension point support // GSoC'13 |
Date: | 2013-10-22 07:36:59 |
Message-ID: | CAPpHfdsSv_+YR_EsoNnKfy77fboJgoGqS3N3c5jFujVu-fo8Gg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-students |
On Tue, Oct 22, 2013 at 2:00 AM, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>wrote:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> > I believe the reason GIST has compress/decompress functions is not for
> > TOAST (they predate that, if memory serves), but to allow the on-disk
> > representation of an index entry to be different from the data type's
> > normal representation in other ways --- think lossy storage in
> particular.
>
> My understanding of the use case for those functions is to do with
> storing a different data type in the index upper nodes and in the index
> leafs. It should be possible to do that in a non-lossy way, so that you
> would implement compress/decompress and not declare the RECHECK bits.
>
> Then again I'm talking from 8.3 era memories of when I tried to
> understand GiST enough to code the prefix extension.
Actually, I mean purpose of this particular decompress function
implementation, not compress/decompress in general. I understand that in
general compress/decompress can do useful job.
------
With best regards,
Alexander Korotkov.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-10-22 07:58:14 | Why the asprintf patch is still breaking the buildfarm |
Previous Message | Andres Freund | 2013-10-22 07:10:22 | Re: Compression of full-page-writes |
From | Date | Subject | |
---|---|---|---|
Next Message | Rohit Goyal | 2013-11-11 11:06:03 | Test of Algorithm || Indexing Scheme |
Previous Message | Dimitri Fontaine | 2013-10-21 22:00:24 | Re: [HACKERS] Cube extension point support // GSoC'13 |