On 07/29/2018 02:03 AM, Sumit Chaturvedi wrote:
Hello,

Does the following seem unusual?

amaltaas:backend amaltaas$ locale

LANG="en_US.UTF-8"

LC_COLLATE="en_US.UTF-8"

LC_CTYPE="en_US.UTF-8"

LC_MESSAGES="en_US.UTF-8"

LC_MONETARY="en_US.UTF-8"

LC_NUMERIC="en_US.UTF-8"

LC_TIME="en_US.UTF-8"

LC_ALL=


After this I ran postgres from terminal like the following and it works:

amaltaas:backend amaltaas$ ./postgres -D ~/Desktop/dn

2018-07-29 14:27:04.544 IST [68250] LOG:listening on IPv6 address "::1", port 5432

2018-07-29 14:27:04.545 IST [68250] LOG:listening on IPv6 address "fe80::1%lo0", port 5432

2018-07-29 14:27:04.545 IST [68250] LOG:listening on IPv4 address "127.0.0.1", port 5432

2018-07-29 14:27:04.546 IST [68250] LOG:listening on Unix socket "/tmp/.s.PGSQL.5432"

2018-07-29 14:27:04.567 IST [68251] LOG:database system was shut down at 2018-07-29 14:23:35 IST

2018-07-29 14:27:04.574 IST [68250] LOG:database system is ready to accept connections


So although the problem is with xcode. I have a feeling that it is not because of LC_ALL.
So my point is that maybe the hint is not entirely correct..

Could be, it is a hint not a requirement. Have you tried unsetting the LC_ALL variable in xcode?


--
Adrian Klaver
adrian.kla...@aklaver.com

Reply via email to