Re: BUG #19341: REPLACE() fails to match final character when using nondeterministic ICU collation

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: BUG #19341: REPLACE() fails to match final character when using nondeterministic ICU collation
Дата
Msg-id e95a37e161a7d5de4436af7119f5fc1307b8ee61.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: BUG #19341: REPLACE() fails to match final character when using nondeterministic ICU collation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Tue, 2025-12-02 at 15:53 -0500, Tom Lane wrote:
> On the other hand ... is that comment really right about zero-length
> match being possible?  If it is, the API for this function is in
> need of redesign, because callers that try to find "the next match"
> would go into an infinite loop re-finding the same zero-length
> match over and over.

I know too little about exotic collations to answer that, but it sure
would be a problem.  All I find in the discussion is the claim by
Peter E. in [1] that it is so.  Perhaps he can enlighten us.

Yours,
Laurenz Albe


 [1]: https://postgr.es/m/6107daa2-5cf7-4cf2-a526-626be1d15b18%40eisentraut.org



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