Re: First patch proposal

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Alastair Turner <bell(at)ctrlf5(dot)co(dot)za>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: First patch proposal
Date: 2010-10-15 16:36:08
Message-ID: 1287160568.13607.20.camel@jd-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2010-10-13 at 22:29 +0200, Alastair Turner wrote:

> I am proposing altering psql to raise certain errors and exit before
> prompting for a password. These errors would have to be on items which
> didn't leak any information, my current list is:
> - Does the input file (-f) exist and is it readable
> - Do paths to the output files ( -o and -l) exist and are they writable
> - Is the host/socket listening (-h)
>

I think these are pretty good. The last one might not be as easy as you
think.

Joshua D. Drake

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2010-10-15 16:51:45 Re: Timeout and wait-forever in sync rep
Previous Message Kevin Grittner 2010-10-15 16:02:47 Re: [JDBC] Support for JDBC setQueryTimeout, et al.