Patch to be verbose about being unable to read ~/.pgpasss...

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Patch to be verbose about being unable to read ~/.pgpasss...
Date: 2003-06-20 00:03:57
Message-ID: 20030620000357.GA43470@perrin.int.nxad.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Howdy. Quick chump patch: if libpq finds a ~/.pgpass but can't stat
it, print something to stderr letting the user know. If someone went
out of their way to put a .pgpass file in place, if they can't read
it, it seems worth while to alert them to the fact that it's not being
used (ex: root creates a .pgpass file but forgets to chown it).

-sc

--
Sean Chittenden

Attachment Content-Type Size
patch text/plain 599 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-06-20 00:51:54 Re: Patch to be verbose about being unable to read ~/.pgpasss...
Previous Message Andrew Dunstan 2003-06-19 23:51:19 pg_hba.conf.sample