Re: psql on Mac

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ozan Kahramanogullari <ozan(dot)kah(at)gmail(dot)com>
Cc: Andrej Ricnik <andrej(dot)groups(at)gmail(dot)com>, Jeff Frost <jeff(dot)frost(at)gmail(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: psql on Mac
Date: 2018-10-24 10:47:10
Message-ID: 19344.1540378030@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-novice

Ozan Kahramanogullari <ozan(dot)kah(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ozan Kahramanogullari 2018-10-24 10:51:25 Re: psql on Mac
Previous Message Ozan Kahramanogullari 2018-10-24 10:33:43 Re: psql on Mac

Browse pgsql-novice by date

  From Date Subject
Next Message Ozan Kahramanogullari 2018-10-24 10:51:25 Re: psql on Mac
Previous Message Ozan Kahramanogullari 2018-10-24 10:33:43 Re: psql on Mac