proposal: alternative psql commands quit and exit

Поиск
Список
Период
Сортировка
От Everaldo Canuto
Тема proposal: alternative psql commands quit and exit
Дата
Msg-id CACYgWUnvCSeiFXyw9+VqHVAd+fUxYhsrGxacRGJao63gznV9UQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: proposal: alternative psql commands quit and exit  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: proposal: alternative psql commands quit and exit  (Sergei Kornilov <sk@zsrv.org>)
Re: proposal: alternative psql commands quit and exit  ("Daniel Vérité" <daniel@manitou-mail.org>)
Re: proposal: alternative psql commands quit and exit  (Oliver Ford <ojford@gmail.com>)
Список 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


Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] Parallel Hash take II
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] Transaction control in procedures