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 11:47:10 +0100
Message-ID: <19344.1540378030@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPiqqLn3-=eG5wCqwpe31Nrh0TD2_2504EiZBg53ZdmtY5LevA@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>

Ozan Kahramanogullari <ozan.kah@gmail.com> writes:
> Yes, sorry you are right. The file is indeed indicated to be where I
> mentioned.

Well, there's something really screwy going on here.  A server using the
pg_hba.conf file you showed us should never ask for a password at all.
I'm reduced to theorizing that you have two Postgres servers running on
that machine, or "localhost" isn't resolving the way you think and the
"psql -h localhost" cases are connecting somewhere else.

I'm not sure of the current state of affairs, but at least older versions
of Apple Remote Desktop had a version of PG included ... so the idea that
there's another server besides the one you know about isn't to be
dismissed out-of-hand.  Digging through "ps auxww" output might be
informative.

			regards, tom lane




view thread (25+ messages)  latest in thread

Message-ID: <19344.1540378030@sss.pgh.pa.us>
Permalink:  ../19344.1540378030@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19344.1540378030@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: <19344.1540378030@sss.pgh.pa.us>
  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>

* 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