Re: [HACKERS] Cube extension point support // GSoC'13

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: [HACKERS] Cube extension point support // GSoC'13
Дата
Msg-id m28uxmthc7.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: [HACKERS] Cube extension point support // GSoC'13  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Cube extension point support // GSoC'13  (Alexander Korotkov <aekorotkov@gmail.com>)
Список pgsql-students
Tom Lane <tgl@sss.pgh.pa.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.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


В списке pgsql-students по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Cube extension point support // GSoC'13
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: [HACKERS] Cube extension point support // GSoC'13