pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ozan Kahramanogullari <ozan.kah@gmail.com>
Cc: Andrej Ricnik <andrej.groups@gmail.com>
Cc: Jeff Frost <jeff.frost@gmail.com>
Cc: pgsql-novice@postgresql.org
Subject: Re: psql on Mac
Date: Wed, 24 Oct 2018 12:22:07 +0100
Message-ID: <19442.1540380127@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPiqqL=ffc1b5k=u4X7ogVcPaw8DT+h2iJpHmAK4WWKC7AyaPg@mail.gmail.com>
References: <CAPiqqLnNNoSw=MYKH=6ThhphWX33LzVg5UVDKxQr_Bj-94u4dQ@mail.gmail.com>
	<CABEGHMGq737p7QeQuxiFzrai=e6bX8WeGXNt3kRPsDSLnjesuw@mail.gmail.com>
	<CAPiqqLkXxUk1q+pDeuxwpESLrssJseLyR=3mBNJPF=3JP6j-Cw@mail.gmail.com>
	<CABEGHMFnoy3zmzY_WwUVt_Eq+8RF36soapyt8CPit9pkWaY_XA@mail.gmail.com>
	<CAPiqqL=KxV9xE9U_9MGp7_DmdYKCcfMe0UFHN2j94Y68k_2cdA@mail.gmail.com>
	<CACMx3pMD5E+aW+4Vc-4cHOJUy8AwJh==hGUrZVAAmFkSWs9BQw@mail.gmail.com>
	<CAPiqqLn8v+MwEWJiH28jxvw3f2TUvrS+uKq5RcO5wBZEqZwJ6g@mail.gmail.com>
	<CAPiqqL=9VLg2n+tWSh76hD1v=f1LdsonAay3BQX2-LEvhvbURw@mail.gmail.com>
	<19047.1540372132@sss.pgh.pa.us>
	<CAPiqqLnsgE+CiRAsdtNHiUpODPi1WSKH2QxE5irDbTJwhn_O=w@mail.gmail.com>
	<19143.1540374143@sss.pgh.pa.us>
	<CAPiqqL=S8+ns8zGwjSfCR24hq8GEsd4Uj=XsNEw+rJ2Y=oY=OA@mail.gmail.com>
	<19247.1540376672@sss.pgh.pa.us>
	<CAPiqqLn3-=eG5wCqwpe31Nrh0TD2_2504EiZBg53ZdmtY5LevA@mail.gmail.com>
	<19344.1540378030@sss.pgh.pa.us>
	<CAPiqqL=ffc1b5k=u4X7ogVcPaw8DT+h2iJpHmAK4WWKC7AyaPg@mail.gmail.com>

Ozan Kahramanogullari <ozan.kah@gmail.com> 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:00.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:00.00 postgres: bgworker: logical replication launcher    
postgres           209   0.0  0.0  4374376   1120   ??  Ss   11:20AM   0:00.48 postgres: stats collector process    
postgres           208   0.0  0.0  4519444   2548   ??  Ss   11:20AM   0:00.15 postgres: autovacuum launcher process    
postgres           207   0.0  0.0  4511252   5188   ??  Ss   11:20AM   0:00.04 postgres: wal writer process    
postgres           206   0.0  0.0  4511252   2292   ??  Ss   11:20AM   0:00.05 postgres: writer process    
postgres           205   0.0  0.0  4511252   2688   ??  Ss   11:20AM   0:00.01 postgres: checkpointer process    
postgres           202   0.0  0.0  4366184    828   ??  Ss   11:20AM   0:00.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:00.03 psql -U postgres
postgres          1012   0.0  0.0  4511640   2968   ??  Ss   12:41PM   0:00.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




view thread (25+ messages)  latest in thread

Message-ID: <19442.1540380127@sss.pgh.pa.us>
Permalink:  ../19442.1540380127@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19442.1540380127@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ozan.kah@gmail.com, andrej.groups@gmail.com, jeff.frost@gmail.com, pgsql-novice@postgresql.org
  Subject: Re: psql on Mac
  In-Reply-To: <19442.1540380127@sss.pgh.pa.us>
  References: <CAPiqqLnNNoSw=MYKH=6ThhphWX33LzVg5UVDKxQr_Bj-94u4dQ@mail.gmail.com> <CAPiqqLkXxUk1q+pDeuxwpESLrssJseLyR=3mBNJPF=3JP6j-Cw@mail.gmail.com> <CABEGHMFnoy3zmzY_WwUVt_Eq+8RF36soapyt8CPit9pkWaY_XA@mail.gmail.com> <CAPiqqL=KxV9xE9U_9MGp7_DmdYKCcfMe0UFHN2j94Y68k_2cdA@mail.gmail.com> <CACMx3pMD5E+aW+4Vc-4cHOJUy8AwJh==hGUrZVAAmFkSWs9BQw@mail.gmail.com> <CAPiqqLn8v+MwEWJiH28jxvw3f2TUvrS+uKq5RcO5wBZEqZwJ6g@mail.gmail.com> <CAPiqqL=9VLg2n+tWSh76hD1v=f1LdsonAay3BQX2-LEvhvbURw@mail.gmail.com> <19047.1540372132@sss.pgh.pa.us> <CAPiqqLnsgE+CiRAsdtNHiUpODPi1WSKH2QxE5irDbTJwhn_O=w@mail.gmail.com> <19143.1540374143@sss.pgh.pa.us> <CAPiqqL=S8+ns8zGwjSfCR24hq8GEsd4Uj=XsNEw+rJ2Y=oY=OA@mail.gmail.com> <19247.1540376672@sss.pgh.pa.us> <CAPiqqLn3-=eG5wCqwpe31Nrh0TD2_2504EiZBg53ZdmtY5LevA@mail.gmail.com> <19344.1540378030@sss.pgh.pa.us> <CAPiqqL=ffc1b5k=u4X7ogVcPaw8DT+h2iJpHmAK4WWKC7AyaPg@mail.gmail.com> <19442.1540380127@sss.pgh.pa.us>

* 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