Re: Yet another fast GiST build

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: Yet another fast GiST build
Дата
Msg-id 2899203C-38BD-48A7-8FC9-0403656A35D5@yandex-team.ru
обсуждение исходный текст
Ответ на Re: Yet another fast GiST build  (Andrey Borodin <x4mmm@yandex-team.ru>)
Ответы Re: Yet another fast GiST build  (Andrey Borodin <x4mmm@yandex-team.ru>)
Список pgsql-hackers

> 30 авг. 2019 г., в 16:44, Andrey Borodin <x4mmm@yandex-team.ru> написал(а):
>
>
> How do you think, should I supply GiST-build patch with docs and tests and add it to CF? Or do we need more design
discussionbefore? 

PFA v2: now sort support is part of opclass.
There's a problem with Z-ordering NaN which causes regression tests to fail. So I decided not to add patch to CF
(despitehaving few minutes to do so). 
How to correctly Z-order NaN? So that it would be consistent with semantics of union() and consistent() functions. If
oneof values is NaN, then we consider all it's bits to be 1? 

BTW patch uses
union {
        float f;
        uint32 i;
    }
I hope it's OK, because AFAIK we do not have non-IEEE-754 platforms now.

Thanks!

Best regards, Andrey Borodin.


Вложения

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

Предыдущее
От: Erik Rijkers
Дата:
Сообщение: Re: row filtering for logical replication
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: refactoring - share str2*int64 functions