#author("2021-06-14T13:26:42+09:00","default:ryuichi","ryuichi")
#author("2021-06-14T13:27:29+09:00","default:ryuichi","ryuichi")
* 表示メッセージを英語にする [#q15c43aa]

** psql起動時に指定 [#fef69a3d]

*** Bash [#q1f23e64]

 $ LC_MESSAGES=C psql foo_db
 $ LC_MESSAGES=ja_JP.utf8 psql foo_db

- 環境変数LC_MESSAGESを指定してpsqlを起動する

** psql起動後に指定 [#hdf9e338]

 SET lc_messages TO 'en_US.UTF-8';

** 恒久的に変更するなら [#t7a36c4c]

- postgresql.conf に変更を加える

** 参考 [#fab9f946]

- https://www.postgresql.org/docs/current/locale.html
- https://stackoverflow.com/questions/191428/change-language-of-system-and-error-messages-in-postgresql

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS