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: Sat, 28 Jul 2018 11:41:11 -0700
Message-ID: <3487413f-bb99-88c8-9886-cbd00ec337b3@aklaver.com> (raw)
In-Reply-To: <CAKR8o6qMCYwDK9mww=DQ3FzmQztSX+Car=RbffWcx1jXpLVxOg@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>
On 07/28/2018 11:24 AM, Sumit Chaturvedi wrote:
Ccing list
> Yes, I can start Postgres server from the terminal. I was thinking, if I
> comment out these lines and another assert later on which checks whether
> postmaster is using multiple threads, I'll be fine right?
If by fine you mean driving further into the crash then yes. The error
is FATAL for a reason, to stop the postmaster before you do damage.
The issue seems to be with xcode, that is where you should spend your
time troubleshooting. If it where me I would start by not setting the
environment variables in xcode. Further help may involve going to an
xcode mailing list/forum and asking advice.
>
> On Sat, Jul 28, 2018 at 11:46 PM, Adrian Klaver
> <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:
>
> On 07/28/2018 11:08 AM, Sumit Chaturvedi wrote:
>
> Hello.
>
> Thanks for those pointers. Will keep them in mind in the future.
> No, there is no problem outside Postgres.
>
>
> So you can start the Postgres server and use it from a program other
> then xcode?
>
>
> Could it be that postmaster becomes multithreaded for some other
> reason??
>
>
> That error message only shows up in one place in the code and that
> is when dealing with Mac locales.
>
> You can download the source from here:
>
> https://www.postgresql.org/ftp/source/
> <https://www.postgresql.org/ftp/source/;
>
> and look for yourself.
>
>
>
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>
>
>
>
> --
> Sumit Chaturvedi
--
Adrian Klaver
adrian.klaver@aklaver.com
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: <3487413f-bb99-88c8-9886-cbd00ec337b3@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>
* 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