Refactor to introduce pg_strcoll().

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Refactor to introduce pg_strcoll().
Дата
Msg-id 99aa79cceefd1fe84fda23510494b8fbb7ad1e70.camel@j-davis.com
обсуждение исходный текст
Ответы Re: Refactor to introduce pg_strcoll().  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Refactors to isolate strcoll, wcscoll, and ucol_strcoll into
pg_locale.c which seems like a better place. Most of the buffer
manipulation and equality optimizations are still left in varlena.c.

Patch attached.

I'm not able to easily test on windows, but it should be close to
correct as I just moved some code around.

Is there a good way to look for regressions (perf or correctness) when
making changes in this area, especially on windows and/or with strange
collation rules? What I did doesn't look like a problem, but there's
always a chance of a regression.


--
Jeff Davis
PostgreSQL Contributor Team - AWS



Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Reducing the chunk header sizes on all memory context types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Reducing the chunk header sizes on all memory context types