Re: Covering GiST indexes

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: Covering GiST indexes
Дата
Msg-id AB8B1A5E-9AB3-43FE-8FA8-3E7E9FCF4D64@yandex-team.ru
обсуждение исходный текст
Ответ на Re: Covering GiST indexes  (Andreas Karlsson <andreas@proxel.se>)
Ответы Re: Covering GiST indexes  (Andreas Karlsson <andreas@proxel.se>)
Список pgsql-hackers
Thanks! Here's new version 8

> 29 янв. 2019 г., в 22:00, Andreas Karlsson <andreas@proxel.se> написал(а):
>
> * I think it is worth writing a short comment when you create truncTupdesc about why this is done.
It resulted in not so short comment, but I think it is OK.
>
> * Very minor thing: the diff below is pointless churn on a line not touched by the patch.
>
> -                        values, isnull, true /* size is currently bogus */ );
> +                        values, isnull, true /* size is currently bogus */);
Fixed.
>
> * Another very minor thing: The diff below from gistFormTuple() should probably be consistent about brackets.
>
> +           if (isnull[i])
> +               compatt[i] = (Datum) 0;
> +           else
> +           {
> +               compatt[i] = attdata[i];
> +           }
Fixed.


Also, I've unified gist and r-tree syntax tests for INCLUDE.

Best regards, Andrey Borodin.


Вложения

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

Предыдущее
От: Dmitry Belyavsky
Дата:
Сообщение: Ltree syntax improvement
Следующее
От: Andreas Karlsson
Дата:
Сообщение: Re: Covering GiST indexes