proposal: alternative psql commands quit and exit - Mailing list 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

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] Parallel Hash take II
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Transaction control in procedures