Re: Patch for checking file parameters to psql before password prompt

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alastair Turner <bell(at)ctrlf5(dot)co(dot)za>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch for checking file parameters to psql before password prompt
Date: 2012-12-04 17:41:31
Message-ID: CA+TgmobX0L9z2fQkZEvSzKk4t8CXgkmo7p0TjOAVNs2MLT2SXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Dec 2, 2012 at 6:37 AM, Alastair Turner <bell(at)ctrlf5(dot)co(dot)za> wrote:
> 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.

s/ouput/output/

Please add this patch here so we don't lose track of it:

https://commitfest.postgresql.org/action/commitfest_view/open

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message postgresql 2012-12-04 17:47:29 Re: Slow query: bitmap scan troubles
Previous Message Philip Scott 2012-12-04 17:35:32 Re: Slow query: bitmap scan troubles