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-28 18:41:11
Message-ID: 3487413f-bb99-88c8-9886-cbd00ec337b3@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
>
>
>
>
> --
> Sumit Chaturvedi

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christophe Pettus 2018-07-29 04:29:59 Re: Publication/Subscription Questions
Previous Message Sumit Chaturvedi 2018-07-28 18:38:52 Re: postgres with xcode