Re: proposal: new long psql parameter --on-error-stop

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: new long psql parameter --on-error-stop
Дата
Msg-id CAFj8pRAyjxziE00J=7qwJJhc1OjENYQxXcf8wOTixxCAAQoybw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: new long psql parameter --on-error-stop  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: proposal: new long psql parameter --on-error-stop  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Список pgsql-hackers



2014-02-28 19:13 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us>:
Pavel Stehule <pavel.stehule@gmail.com> writes:
> for beginners is relative difficult to set psql variable from command line
> and option
> -v ON_ERROR_STOP=1 is little bit unclean.
> and for any user it is not comfortable. So I propose a new psql option
> --on-error-stop

That saves a whole three characters ... not sure it's really worth it,
especially since it will not work on older versions.

Also, it's not like this will save people from having to know about the
ON_ERROR_STOP variable, because there will still be plenty of contexts
where they need to know that (eg, inspecting the setting or changing it
mid-session).  So I don't buy the argument that this simplifies what
beginners need to learn.

three chars is not important

important is a  placing in --help output

Regards

Pavel


 

                        regards, tom lane

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: proposal: new long psql parameter --on-error-stop
Следующее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: proposal: new long psql parameter --on-error-stop