On Wed, Sep 9, 2020 at 3:09 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
On 09/09/2020 13:28, Andrey M. Borodin wrote: > Thanks Darafei! > >> 9 сент. 2020 г., в 12:05, Darafei Komяpa Praliaskouski >> <me@komzpa.net> написал(а): >> >>> How does the 'sortsupport' routine interact with >>> 'compress'/'decompress'? Which representation is passed to the >>> comparator routine: the original value from the table, the >>> compressed representation, or the decompressed representation? Do >>> the comparetup_index_btree() and readtup_index() routines agree >>> with that? >> ....
Come to think of it, the point z-order comparator could benefit a lot from key abbreviation, too. You could do the point -> zorder conversion in the abbreviation routine.