Re: compress method for spgist - 2

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: compress method for spgist - 2
Дата
Msg-id 54A6A293.2090508@vmware.com
обсуждение исходный текст
Ответ на Re: compress method for spgist - 2  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: compress method for spgist - 2  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Compression of full-page-writes
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: parallel mode and parallel contexts