Re: First patch proposal - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: First patch proposal
Date
Msg-id 1287160568.13607.20.camel@jd-desktop
Whole thread Raw
In response to First patch proposal  (Alastair Turner <bell@ctrlf5.co.za>)
List 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



pgsql-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: Foreign Visual Studio builds
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: Timeout and wait-forever in sync rep