Re: compress method for spgist - 2

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: compress method for spgist - 2
Date: 2015-01-02 13:52:19
Message-ID: 54A6A293.2090508@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/23/2014 03:02 PM, Teodor Sigaev wrote:
>> >I think we'll need a separate SpGistTypeDesc for the input type. Or perhaps a
>> >separate SpGistTypeDesc for the reconstructed value and an optional decompress
>> >method to turn the reconstructedValue back into an actual reconstructed input
>> >datum. Or something like that.
> I suppose that compress and reconstruct are mutual exclusive options.

I would rather not assume that. You might well want to store something
in the leaf nodes that's different from the original Datum, but
nevertheless contains enough information to reconstruct the original Datum.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2015-01-02 14:04:13 Re: parallel mode and parallel contexts
Previous Message Andres Freund 2015-01-02 12:01:06 Re: Compression of full-page-writes