Patch for checking file parameters to psql before password prompt
Alastair Turner <bell@ctrlf5.co.za>
From: Alastair Turner <bell@ctrlf5.co.za>
To: pgsql-hackers@postgresql.org
Date: 2012-12-02T11:37:17Z
Lists: pgsql-hackers
Attachments
- psql_check_file_params_before_login.patch (application/octet-stream) patch
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.