Re: postgres with xcode

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Sumit Chaturvedi <sumit(dot)chaturvedi(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres with xcode
Date: 2018-07-29 14:36:54
Message-ID: 5cdb0f4e-9546-3e83-9f87-92066f03ec7b@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2018-07-29 14:36:58 Re: postgres with xcode
Previous Message Sumit Chaturvedi 2018-07-29 09:03:31 Re: postgres with xcode