Re: First patch proposal - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Re: First patch proposal
Date
Msg-id AANLkTinCx4aSsc9rv7pWqfHCpzW1NmWb-AZ=gAkdVxfe@mail.gmail.com
Whole thread Raw
In response to First patch proposal  (Alastair Turner <bell@ctrlf5.co.za>)
Responses Re: First patch proposal
List pgsql-hackers
2010/10/14 Alastair Turner <bell@ctrlf5.co.za>:
> 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)
>
> This is obviously scratching an itch of my own - I end up capturing
> passwords and then getting errors from mistyped input files on a
> regular basis. I don't think that I'm the only person to have the
> problem though (at least I hope not).
>
> Does this sound like a sane, desirable set of changes?

I think yes. Just for information, did you pick this topic from TODO
list? If so, could you attach links to the entry or to some related
former thread? And in general it is encouraged that you'd better send
one feature per a patch, in order for it to be reviewed and committed
easily, rather than going all the three you mentioned above.

Regards,


--
Hitoshi Harada


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL command to edit postgresql.conf, with comments
Next
From: Hitoshi Harada
Date:
Subject: UNION DISTINCT in doc