Re: proposal: alternative psql commands quit and exit

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: proposal: alternative psql commands quit and exit
Дата
Msg-id CAB7nPqQBjTpBm1x6rQNaEUCvWh7OfMVRfEzCv6TvuGZLX6iVzA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: alternative psql commands quit and exit  (Everaldo Canuto <everaldo.canuto@gmail.com>)
Ответы Re: proposal: alternative psql commands quit and exit  (Everaldo Canuto <everaldo.canuto@gmail.com>)
Re: proposal: alternative psql commands quit and exit  (Nikolay Samokhvalov <samokhvalov@gmail.com>)
Список pgsql-hackers
On Fri, Dec 8, 2017 at 7:06 PM, Everaldo Canuto
<everaldo.canuto@gmail.com> wrote:
> For people already know psql nothing is changed, we will just have a hidden
> way to exit.
>
> I just think that if it don't change or break anything for usual psql user
> but also help some new comers, then is good.
>
> And remember, mysql client implement "\q" and "\quit" just to be more
> friendly to psql users. Lets us be friendly too ;-)

I think that you are going to need better reasons than just being more
friendly with other database clients by breaking a rule which is
around for 20 years. For one, it seems to me that your patch is
breaking multi-line SQL support with psql, as "quit" or "exit" are
legit SQL object names.
-- 
Michael


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

Предыдущее
От: Everaldo Canuto
Дата:
Сообщение: Re: proposal: alternative psql commands quit and exit
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: explain analyze output with parallel workers - question aboutmeaning of information for explain.depesz.com