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



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to