Re: compress method for spgist - 2 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: compress method for spgist - 2
Date
Msg-id 54A6A293.2090508@vmware.com
Whole thread Raw
In response to Re: compress method for spgist - 2  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: compress method for spgist - 2
List 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




pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Compression of full-page-writes
Next
From: Amit Kapila
Date:
Subject: Re: parallel mode and parallel contexts