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

From Szymon Lipiński
Subject Re: proposal: alternative psql commands quit and exit
Date
Msg-id CAFjNrYvHMkjzbVVtb-YP2KBSWvYJso6ydEvkW-zsyyU-MZjy1Q@mail.gmail.com
Whole thread Raw
In response to Re: proposal: alternative psql commands quit and exit  (Oliver Ford <ojford@gmail.com>)
Responses Re: proposal: alternative psql commands quit and exit  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers


On 8 December 2017 at 15:34, Oliver Ford <ojford@gmail.com> wrote:
On Thu, Dec 7, 2017 at 11:47 PM, Everaldo Canuto
<everaldo.canuto@gmail.com> wrote:
> Some of us unfortunately have to work with multiple databases like Oracle or
> MySQL. Their respective clients mysql and sqlplus uses "quit" or "exit" to
> exit sql client.
>
> Oracle's sqlplus uses "quit" or "exit" and MySQL client can be exited using
> "quit" and "exit" but for compatibility with psql, it also supports "\q" and
> "\quit".
>
> Postgres psql already support "\q" and "\quit" but I think that could be
> cool if it supports "exit" and "quit", talking to friends I saw that I am
> the only that sometimes try to exit psql with "exit'.

+1 from me. When I first used Postgres I struggled with how to quit
psql. I felt that making people look up how to quit the program is bad
UI design. I admired Postgres as a database, but had the impression
that it was harder to use than MySQL. Not being able to quit or
describe a table in the way I was used to was frustrating.

If anyone is unsure on this point, I'd recommend reading Joel
Spolsky's articles on UI design. He clearly explains how a program
model should match a user model. The fact that it's always been done
this way is irrelevant to new users, who want a db that is intuitive.


Well, if I have a new program I usually read some documentation. It really helps people to exit vim as well :)

Thinking this way for me psql's way is the intuitive one, because I know it.
Should I kindly ask Oracle to change their programs because I rather want to use their software than reading their documentation?


regards
Szymon Lipiński

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Allowing SSL connection of v11 client to v10 server with SCRAMchannel binding
Next
From: "David G. Johnston"
Date:
Subject: Re: proposal: alternative psql commands quit and exit