Setting error messages to English not working

后端 未结 2 2296
-上瘾入骨i
-上瘾入骨i 2021-02-19 21:09

For some reason I cannot change the language of the error messages from PostgreSQL. I have tried to set the language inside the script for creating the schema in at the first li

2条回答
  •  情书的邮戳
    2021-02-19 22:03

    Have you tried the following command?

    initdb --locale=en_US --lc_messages=en_US
    

    for details, please refer to http://www.postgresql.org/docs/9.0/static/locale.html

提交回复
热议问题