Patch for checking file parameters to psql before password prompt - Mailing list pgsql-hackers

From Alastair Turner
Subject Patch for checking file parameters to psql before password prompt
Date
Msg-id CAFgq2fX7_VhAYXo7jHKh+S2rLHkAHO+m1vu-aFZA2uvx38CsqA@mail.gmail.com
Whole thread Raw
Responses Re: Patch for checking file parameters to psql before password prompt  (Robert Haas <robertmhaas@gmail.com>)
Re: Patch for checking file parameters to psql before password prompt  (Josh Kupershmidt <schmiddy@gmail.com>)
Re: Patch for checking file parameters to psql before password prompt  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Patch for the changes discussed in
http://archives.postgresql.org/pgsql-hackers/2010-10/msg00919.php
attached (eventually ...)

In summary: If the input file (-f) doesn't exist or the ouput or log
files (-o and -l) can't be created psql exits before prompting for a
password.

Regards,

Alastair.

Attachment

pgsql-hackers by date:

Previous
From: Amit kapila
Date:
Subject: Re: Proposal for Allow postgresql.conf values to be changed via SQL
Next
From: Tatsuo Ishii
Date:
Subject: Re: [PATCH] Patch to fix a crash of psql