Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjU9a-0003jW-D5 for pgsql-general@arkaria.postgresql.org; Sat, 28 Jul 2018 18:41:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fjU9Y-0006En-Eh for pgsql-general@arkaria.postgresql.org; Sat, 28 Jul 2018 18:41:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjU9Y-0006Eg-34 for pgsql-general@lists.postgresql.org; Sat, 28 Jul 2018 18:41:20 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjU9R-0002dO-5l for pgsql-general@postgresql.org; Sat, 28 Jul 2018 18:41:18 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6F1E920F50; Sat, 28 Jul 2018 14:41:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 28 Jul 2018 14:41:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=ounGUkjsOv244xn9Yb7tmrVY/ZAWz r0v7cQdz67mreo=; b=wCnAI9ScKqPKIrWJCr5hGMwsBpBxXJSvZUEYfa/41x3ih dgVZen4sARW0HL2CsXlitD3Myqp/A+NZHYg6KU4Typh8OU/f0s2sLJjhSGUW6cCJ 1+YKajzk53RpBi1Y+KU7Px6WtWtAwnAszalHPuony7J7W7aEgvtQZmz8fOvinWRT 3AFLTdA8HcPB4ujpw3keadKZQUa4J6lb2DwlbgCXlHWIW9h61eR7EJ/XLvTwiuHq NcUtg5OTMmA6CJBd6nq64V36upV8ll+UJmF/lIsB8pRsDtbgqM6/6oeqJNL6zLzX rnRMXmg9k/KWehHPgOrtAlqQMdUSsn6vPdZNS382Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ounGUk jsOv244xn9Yb7tmrVY/ZAWzr0v7cQdz67mreo=; b=bA6WQg7t+cHm6UvTV1FqSO q0NIC1nR4ylBF6+QsCS6XWVn0VJfw1E/t2s+sbAhCNAZYLJ/jHtSYy2FNHHaUG9L KJVixN9lQ1U0oWfxbx/1cmQZ/IK8SzMgdk83bBZq8WwpEDFX4Ejta9Bsurv0Laz5 tBA7LGw0ikm5pUpIre2XgR4X3UONBf4Fppwq5Hay5uih51UhYRMe2/xb+wPs8to+ K8Ltnz56riCF6ypLoppAn7AjXYoKfmyfDno8H3QNkGay+OkaSj+41xG1V4DvOy78 vbmkSHzxpzII7RhMl6H+xnINESVv8opmQLgXSUnSKTr/H1JMP77bani2b8rNiF9Q == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.181]) by mail.messagingengine.com (Postfix) with ESMTPA id A4C45E450E; Sat, 28 Jul 2018 14:41:11 -0400 (EDT) Subject: Re: postgres with xcode To: Sumit Chaturvedi References: <9c60d4da-b090-bba8-86af-4bdd267bd722@aklaver.com> <31c64726-84e1-3b10-1d27-615b82ea2b57@aklaver.com> Cc: pgsql-general From: Adrian Klaver Message-ID: <3487413f-bb99-88c8-9886-cbd00ec337b3@aklaver.com> Date: Sat, 28 Jul 2018 11:41:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 > > 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/ > > > and look for yourself. > > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > > > > -- > Sumit Chaturvedi -- Adrian Klaver adrian.klaver@aklaver.com