Re: proposal: alternative psql commands quit and exit - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: proposal: alternative psql commands quit and exit
Date
Msg-id CAB7nPqQBjTpBm1x6rQNaEUCvWh7OfMVRfEzCv6TvuGZLX6iVzA@mail.gmail.com
Whole thread Raw
In response to Re: proposal: alternative psql commands quit and exit  (Everaldo Canuto <everaldo.canuto@gmail.com>)
Responses Re: proposal: alternative psql commands quit and exit
Re: proposal: alternative psql commands quit and exit
List 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 by date:

Previous
From: Everaldo Canuto
Date:
Subject: Re: proposal: alternative psql commands quit and exit
Next
From: Amit Kapila
Date:
Subject: Re: explain analyze output with parallel workers - question aboutmeaning of information for explain.depesz.com