You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pgis | The database cluster will be initialized with locale "en_US.utf8".
pgis | The default database encoding has accordingly been set to "UTF8".
pgis | The default text search configuration will be set to "english".
The text was updated successfully, but these errors were encountered:
UlrichKnaack
changed the title
incorrect type ans collation in database
incorrect ctype and collation in database
May 28, 2020
see https://hub.docker.com/_/postgres"Locale Customization" part.
just replace the FROM part to postgis/postgis:12-3.0 and build a new docker image - for yourself ..
FROM postgis/postgis:12-3.0
RUN localedef -i de_DE -c -f UTF-8 -A /usr/share/locale/locale.alias de_DE.UTF-8
ENV LANG de_DE.utf8
and don't forget ... it is only working for empty postgresql data .... ( in your spec: - pgisdb:/var/lib/postgresql/data/ ) https://www.postgresql.org/docs/12/locale.html#id-1.6.10.3.4"Locale support is automatically initialized when a database cluster is created .... "
I've tried to apply german character encoding in my database, but I got
C.UTF-8
.This is my setup:
env-pgis:
Output (extract) from
docker-compose logs
:The text was updated successfully, but these errors were encountered: