Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 如何禁用Postgresql工具邮件翻译_Windows_Postgresql - Fatal编程技术网

Windows 如何禁用Postgresql工具邮件翻译

Windows 如何禁用Postgresql工具邮件翻译,windows,postgresql,Windows,Postgresql,Postgresql工具(位于c:\Program Files\Postgresql\9.4\bin中)自动将所有消息本地化为“Windows设置->时钟、语言和区域->更改位置->格式->格式”中设置的语言 我希望将格式设置为我当前的语言(不是英语),但我想强制postgresql工具使用英语对其响应进行简单的解析 如何实现我的目标?Postgres工具从名为LC\u MESSAGES的环境变量中选择语言。所以如果你定义 LC_MESSAGES=English Postgres错误消息将以英

Postgresql工具(位于c:\Program Files\Postgresql\9.4\bin中)自动将所有消息本地化为“Windows设置->时钟、语言和区域->更改位置->格式->格式”中设置的语言

我希望将格式设置为我当前的语言(不是英语),但我想强制postgresql工具使用英语对其响应进行简单的解析


如何实现我的目标?

Postgres工具从名为
LC\u MESSAGES
的环境变量中选择语言。所以如果你定义

LC_MESSAGES=English
Postgres错误消息将以英语显示


您也可以在Postgres端通过在
postgresql.conf


这也将使Postgres日志文件中的消息以英语显示

Postgres工具从名为
LC\u messages
的环境变量中选择其语言。所以如果你定义

LC_MESSAGES=English
Postgres错误消息将以英语显示


您也可以在Postgres端通过在
postgresql.conf


这也将使Postgres日志文件中的消息以英语显示

我在postgresql.conf中定义了LC_messages=English,但这还不够。在Windows环境变量中定义LC_MESSAGES=English似乎可以解决我的问题。ThanksI在postgresql.conf中定义了LC_MESSAGES=English,但这还不够。在Windows环境变量中定义LC_MESSAGES=English似乎可以解决我的问题。谢谢