Re: ICU integration - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ICU integration
Date
Msg-id 20160922153025.GA998480@alvherre.pgsql
Whole thread Raw
In response to Re: ICU integration  (Petr Jelinek <petr@2ndquadrant.com>)
Responses Re: ICU integration  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Petr Jelinek wrote:

> > I'm not sure how well it will work to replace all the bits of LIKE and
> > regular expressions with ICU API calls.  One problem is that ICU likes
> > to do case folding as a whole string, not by character.  I need to do
> > more research about that.  
> 
> Can't we use the regular expression api provided by ICU, or is that too
> incompatible?

That probably won't fly very well -- it would be rather absurd to have
different regex behavior when ICU is compiled compared to when it's
not.  Perhaps down the road we could have an extension that provides
ICU-based regex operators, but most likely not in core.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: pg_ctl promote wait
Next
From: Julian Markwort
Date:
Subject: Re: [PATCH] pgpassfile connection option