Advertisement
logicmoo

Untitled

Apr 21st, 2018
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@gitlab:~# locale -a | grep -i LAT
  2. be_BY@latin
  3. nan_TW@latin
  4. sr_RS@latin
  5. ug_CN@latin
  6.  
  7.  
  8.  
  9. root@gitlab:~# pg_createcluster 9.5 main --start -e "LATIN1"
  10. Creating new cluster 9.5/main ...
  11.   config /etc/postgresql/9.5/main
  12.   data   /var/lib/postgresql/9.5/main
  13.   locale en_US.UTF-8
  14. initdb: encoding mismatch
  15. The encoding you selected (LATIN1) and the encoding that the
  16. selected locale uses (UTF8) do not match.  This would lead to
  17. misbehavior in various character string processing functions.
  18. Rerun initdb and either do not specify an encoding explicitly,
  19. or choose a matching combination.
  20. Error: initdb failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement