postgres icon indicating copy to clipboard operation
postgres copied to clipboard

Enable ICU provider

Open lukaspili opened this issue 2 years ago • 3 comments

One popular use case is to create a case insensitive collation:

create collation case_insensitive (provider = icu, locale = 'und-u-ks-level2', deterministic = false);

Current result is an error stating:

ICU is not supported in this build

lukaspili avatar Apr 24 '22 23:04 lukaspili

thanks @lukaspili - moving this over to the postgres repo

kiwicopple avatar Apr 25 '22 12:04 kiwicopple

Hi, any progress on this enhancement?

xjasonlyu avatar Jun 12 '22 08:06 xjasonlyu

Seems postgres wasn't compiled with ICU support, it needs ./configure --with-icu.

More details at: https://www.2ndquadrant.com/en/blog/icu-support-postgresql-10/

steve-chavez avatar Jun 15 '22 19:06 steve-chavez

ICU is supported on the postgres development server (supabase start), so I've just developed and tested a new feature using ICU collations and only discovered that it's not supported in production when I tried to supabase db push the new schemas.

So at least the development server is compiled with ICU support. I thought the whole point of the dockerised development server was that you developed against the same binary that you deployed on?

BernieSumption avatar Jan 18 '23 16:01 BernieSumption

Created PR https://github.com/supabase/postgres/pull/491

pashkinelfe avatar Jan 20 '23 08:01 pashkinelfe