| From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
|---|---|
| To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
| Cc: | Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: psql --batch |
| Date: | 2017-08-28 07:33:09 |
| Message-ID: | alpine.DEB.2.20.1708280927350.9003@lancre |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
>> ISTM that the real pain is the "-v ON_ERRORS_STOP=1" which I occasionally
>> encountered as well, the other one letter ones are not too bad. Maybe it
>> would be enough to have a shortcut for this one, say "-B"?
>
> I agree with last sentence. I don't think so -qAtX are expected always, but
> "-v ON_ERRORS_STOP=1" is pretty often.
Yep. I often "\set" that in the script.
> What do you think about long option "--on-errors-stop" ?
It does not really relieve the typing pain Craig is complaining about, but
it would be ok as the long option version if -B is added, and it is
auto-completion friendly.
--
Fabien.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | yangjie@highgo.com | 2017-08-28 07:33:46 | Re: [POC] hash partitioning |
| Previous Message | Pavel Stehule | 2017-08-28 07:22:42 | Re: psql --batch |