Re: check_strxfrm_bug()

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: check_strxfrm_bug()
Дата
Msg-id f18b6ae181d785549c2547f05862ab96d9af857a.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: check_strxfrm_bug()  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Thu, 2023-04-20 at 13:34 +1200, Thomas Munro wrote:
> I could write a patch to remove the libc strxfrm support, but since
> Jeff recently wrote new code in 16 to abstract that stuff, he might
> prefer to look at it?

+1 to removing it.

As far as how it's removed, we could directly check:

  if (!collate_c && !(locale && locale->provider == COLLPROVIDER_ICU))
    abbreviate = false;

as it was before, or we could still try to hide it as a detail behind a
function. I don't have a strong opinion there, though I thought it
might be good for varlena.c to not know those internal details.

Regards,
    Jeff Davis




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

Предыдущее
От: Miroslav Bendik
Дата:
Сообщение: Re: Incremental sort for access method with ordered scan support (amcanorderbyop)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: LLVM strip -x fails