Change language of system and error messages in PostgreSQL

前端 未结 4 445
心在旅途
心在旅途 2020-12-13 18:09

Is it possible to change the language of system messages from PostgreSQL?

In MSSQL for instance this is possible with the SQL statement SET LANGUAGE.

4条回答
  •  执念已碎
    2020-12-13 18:29

    In my case (on Windows Server 2019) I managed to change language by creating a system environment variable "LC_MESSAGES" with value "English":

    setx LC_MESSAGES English /m
    

    (Solution taken from here)

提交回复
热议问题