I am using cimg/postgres as my database image.
- image: cimg/postgres:11.12
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: XXXX
POSTGRES_USER: XXXX
Then I'd like to use icu collation, so I specified in my database.yml
adapter: postgresql
ctype: ja-x-icu
collation: ja-x-icu
I ran ci with this setting, but the error occurs as below;
PG::WrongObjectType: ERROR: invalid locale name: "ja-x-icu"
I thought that icu collation is available in cimg/postgres
becuase --with-icu
is written in the Dockerfile, but actually it does not work.
https://github.com/CircleCI-Public/cimg-postgres/blob/main/15.0/Dockerfile#L68
Question:
・How can I use icu collation with cimg/postgres (in my rails application)?
Thank you in advance.