From: | Everaldo Canuto <everaldo(dot)canuto(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | proposal: alternative psql commands quit and exit |
Date: | 2017-12-07 23:47:47 |
Message-ID: | CACYgWUnvCSeiFXyw9+VqHVAd+fUxYhsrGxacRGJao63gznV9UQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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'.
The attached patch implements this way to exit psql.
Regards
--
Everaldo Canuto
Attachment | Content-Type | Size |
---|---|---|
psql-exit-quit.patch | application/octet-stream | 714 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2017-12-07 23:47:51 | Re: [HACKERS] Transaction control in procedures |
Previous Message | Thomas Munro | 2017-12-07 23:40:00 | Re: [HACKERS] Parallel Hash take II |