Re: Postgres jobs will not automatically login on Mac OSX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Lademan <mjfrog14(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: Postgres jobs will not automatically login on Mac OSX
Date: 2013-11-21 19:42:02
Message-ID: 7447.1385062922@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Patrick Lademan <mjfrog14(at)gmail(dot)com> writes:
> I forgot to mention... for testing purposes, I chmod 777 .pgpass
> Since everyone can read the file, postgres should be able to read it too.

Well, that's pretty silly. You might as well use TRUST mode for local
connections. Anyway, postgres will not consult a .pgpass file that has
such loose permissions. This is not a bug, it's entirely intentional.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Patrick Lademan 2013-11-21 21:06:36 Re: Postgres jobs will not automatically login on Mac OSX
Previous Message Tom Lane 2013-11-21 17:33:43 Re: Postgres jobs will not automatically login on Mac OSX