How to change language to English for pg_dump and pg_restore on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have my local installation of postgresql 9.6 on Windows 10. My system language English (all Windows UI is in English) but my locale is set to Polish (Polish keyboard, Polish number formats, etc.). This makes pg_dump and pg_restore tools use Polish language for all command line output messages. But how can I force them to English? Probably changing my Windows locale to English would do the trick but I would like switch the postgres tools to English independently. Is there a way to do this? I've spent a lot of time searching for an answer but I haven't found anything.

In my postgresql.conf file I have this line:

lc_messages = 'English_United States.1252'

and it makes messages coming from the database in English (like when there is an error in sql query) but this doesn't set the command line tools language. I want everything to be in English in the command line, how can I do this?

Michal.





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux