pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Sumit Chaturvedi <sumit.chaturvedi@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: postgres with xcode
Date: Sun, 29 Jul 2018 07:36:54 -0700
Message-ID: <5cdb0f4e-9546-3e83-9f87-92066f03ec7b@aklaver.com> (raw)
In-Reply-To: <CAKR8o6qEQNrtz_y-nHG_iq=bXqvugQ4NCGjEy8J+kB7P6R0GtA@mail.gmail.com>
References: <CAKR8o6o7OMq3fd5+GHkpb9NR01W+0CATBtn_xh3bwC+jC42e5g@mail.gmail.com>
	<9c60d4da-b090-bba8-86af-4bdd267bd722@aklaver.com>
	<CAKR8o6o4ypFVWn=Y4Zk_hd7h6A2Ry=VdrQgGUQFvtTNaVG814Q@mail.gmail.com>
	<a16f21db-2fc7-bd1f-28b0-542e0fd1179c@aklaver.com>
	<CAKR8o6rXzvQ=is3JW2zfQBNB49HfXPjrhOn2uo9M+Tfs_apRmg@mail.gmail.com>
	<31c64726-84e1-3b10-1d27-615b82ea2b57@aklaver.com>
	<CAKR8o6qMCYwDK9mww=DQ3FzmQztSX+Car=RbffWcx1jXpLVxOg@mail.gmail.com>
	<3487413f-bb99-88c8-9886-cbd00ec337b3@aklaver.com>
	<CAKR8o6qEQNrtz_y-nHG_iq=bXqvugQ4NCGjEy8J+kB7P6R0GtA@mail.gmail.com>

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.klaver@aklaver.com




view thread (13+ messages)  latest in thread

Message-ID: <5cdb0f4e-9546-3e83-9f87-92066f03ec7b@aklaver.com>
Permalink:  ../5cdb0f4e-9546-3e83-9f87-92066f03ec7b@aklaver.com/
Also on:    postgresql.org/message-id/5cdb0f4e-9546-3e83-9f87-92066f03ec7b@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, sumit.chaturvedi@gmail.com
  Subject: Re: postgres with xcode
  In-Reply-To: <5cdb0f4e-9546-3e83-9f87-92066f03ec7b@aklaver.com>
  References: <CAKR8o6o7OMq3fd5+GHkpb9NR01W+0CATBtn_xh3bwC+jC42e5g@mail.gmail.com> <9c60d4da-b090-bba8-86af-4bdd267bd722@aklaver.com> <CAKR8o6o4ypFVWn=Y4Zk_hd7h6A2Ry=VdrQgGUQFvtTNaVG814Q@mail.gmail.com> <a16f21db-2fc7-bd1f-28b0-542e0fd1179c@aklaver.com> <CAKR8o6rXzvQ=is3JW2zfQBNB49HfXPjrhOn2uo9M+Tfs_apRmg@mail.gmail.com> <31c64726-84e1-3b10-1d27-615b82ea2b57@aklaver.com> <CAKR8o6qMCYwDK9mww=DQ3FzmQztSX+Car=RbffWcx1jXpLVxOg@mail.gmail.com> <3487413f-bb99-88c8-9886-cbd00ec337b3@aklaver.com> <CAKR8o6qEQNrtz_y-nHG_iq=bXqvugQ4NCGjEy8J+kB7P6R0GtA@mail.gmail.com> <5cdb0f4e-9546-3e83-9f87-92066f03ec7b@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox