Re: Wrong results using initcap() with non normalized string

Поиск
Список
Период
Сортировка
От Juan José Santamaría Flecha
Тема Re: Wrong results using initcap() with non normalized string
Дата
Msg-id CAC+AXB3mGPJje5fsyXH51aMTJ7Hk+abUo1ZqwPbsti_OJ1dg6g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Wrong results using initcap() with non normalized string  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Wrong results using initcap() with non normalized string  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Sep 21, 2019 at 2:42 AM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>
> On 2019-Sep-20, Tom Lane wrote:
>
> > If we're going to start worrying about non-normalized characters,
> > I suspect there are far more places than this one that we'd have
> > to consider buggy :-(.
>
> I would think that we have to start somewhere, rather than take the
> position that we can never do anything about it.
>
> (ref: https://www.postgresql.org/message-id/flat/53E179E1.3060404%402ndquadrant.com )

This conversation is prior to having the normalization code available
[1]. Nowadays this particular issue seems like low hanging fruit, but
I agree it would be problematic if it was the only normalization-aware
function, although most functions are sure to be troubleless if
nothing has been reported before.

The attached patch addresses the comment about assuming UTF8.

Regards,

Juan José Santamaría Flecha

[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=60f11b87a2349985230c08616fa8a34ffde934c8

Вложения

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

Предыдущее
От: Dent John
Дата:
Сообщение: Re: The flinfo->fn_extra question, from me this time.
Следующее
От: Darafei "Komяpa" Praliaskouski
Дата:
Сообщение: Re: Unwanted expression simplification in PG12b2