| От | Tom Lane |
|---|---|
| Тема | Re: Wrong Results from SP-GiST with Collations |
| Дата | |
| Msg-id | 20362.1523906934@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Wrong Results from SP-GiST with Collations (Peter Geoghegan <pg@bowt.ie>) |
| Ответы |
Re: Wrong Results from SP-GiST with Collations
|
| Список | pgsql-bugs |
Peter Geoghegan <pg@bowt.ie> writes:
> On Mon, Apr 16, 2018 at 11:51 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> and then the bit below about ...
>> needs to move into the "non-collation-aware" branch.
> Right. Alternatively, you could actually call varstr_cmp() within the
> "non-collation-aware" branch.
True. This way saves a few cycles, but maybe it's not worth the extra
code. I think the only case where you could really notice the difference
is for an equality search operator, which might end up doing a lot more
work in non-C collations (full-blown strcoll vs memcmp).
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера