Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFHEu-0006j8-HG for pgsql-novice@arkaria.postgresql.org; Wed, 24 Oct 2018 11:22:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gFHEs-00088A-Nq for pgsql-novice@arkaria.postgresql.org; Wed, 24 Oct 2018 11:22:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFHEs-000883-HQ for pgsql-novice@lists.postgresql.org; Wed, 24 Oct 2018 11:22:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFHEq-0004AC-5r for pgsql-novice@postgresql.org; Wed, 24 Oct 2018 11:22:14 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w9OBM7OV016809; Wed, 24 Oct 2018 07:22:07 -0400 From: Tom Lane To: Ozan Kahramanogullari cc: Andrej Ricnik , Jeff Frost , pgsql-novice@postgresql.org Subject: Re: psql on Mac In-reply-to: References: <19047.1540372132@sss.pgh.pa.us> <19143.1540374143@sss.pgh.pa.us> <19247.1540376672@sss.pgh.pa.us> <19344.1540378030@sss.pgh.pa.us> Comments: In-reply-to Ozan Kahramanogullari message dated "Wed, 24 Oct 2018 12:51:25 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19441.1540380127.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Oct 2018 12:22:07 +0100 Message-ID: <19442.1540380127@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ozan Kahramanogullari writes: > I am attaching the output of "ps auxww". I am not able to make any sense= of > it, sorry! Maybe you can? I only see one postmaster: postgres 70 0.0 0.1 4511528 17908 ?? Ss 11:20AM 0:0= 0.18 /Library/PostgreSQL/10/bin/postmaster -D/Library/PostgreSQL/10/data though it's got the usual collection of child processes: postgres 211 0.0 0.0 4519444 1708 ?? Ss 11:20AM 0:0= 0.00 postgres: bgworker: logical replication launcher = postgres 209 0.0 0.0 4374376 1120 ?? Ss 11:20AM 0:0= 0.48 postgres: stats collector process = postgres 208 0.0 0.0 4519444 2548 ?? Ss 11:20AM 0:0= 0.15 postgres: autovacuum launcher process = postgres 207 0.0 0.0 4511252 5188 ?? Ss 11:20AM 0:0= 0.04 postgres: wal writer process = postgres 206 0.0 0.0 4511252 2292 ?? Ss 11:20AM 0:0= 0.05 postgres: writer process = postgres 205 0.0 0.0 4511252 2688 ?? Ss 11:20AM 0:0= 0.01 postgres: checkpointer process = postgres 202 0.0 0.0 4366184 828 ?? Ss 11:20AM 0:0= 0.00 postgres: logger process = and here's your psql and associated backend process: root 1011 0.0 0.0 4299336 5720 s000 S+ 12:41PM 0:0= 0.03 psql -U postgres postgres 1012 0.0 0.0 4511640 2968 ?? Ss 12:41PM 0:0= 0.00 postgres: postgres postgres [local] idle = So that all looks pretty normal, and shoots down my idea about two local postmasters. That leaves the remote-connection idea. What do you get from "nslookup localhost" on the command line? What happens if you write "psql -h 127.0.0.1" instead of writing "psql -h localhost"? regards, tom lane