Is there a way to force PostgreSQL commands (pg_ctl, postgres, initdb, etc.) to run in English and not honor the system locale? Thank you!


You can set locale related environment variables (LC_LANG, LC_ALL etc) during command execution:

LC_ALL=locale_name command_name


LC_ALL=en_US.UTF-8 postgres

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.