I install on centos7 postgresql9.4 here according to this instruction .

In general, everything is set, but the default encodings do not suit:

Encoding SQL_ASCII Collate С Ctype C 

Tell me, please, where can the configs be fixed or during

 /usr/pgsql-9.4/bin/postgresql94-setup initdb 

Specify something?

  • --encoding = UTF8 --locale = en_RU.UTF-8 - nörbörnën
  • @norbornen Please post your comment as a response. - Nicolas Chabanovsky
  • @NicolasChabanovsky is the standard initdb keys, but I'm not sure about the completeness and correctness of the answer since I never used postgresql94-setup to install the DBMS - nörbörnën

1 answer 1

response from comment:


 /usr/pgsql-9.4/bin/postgresql94-setup initdb --encoding=UTF8 --locale=ru_RU.UTF-8