Postgres 11 – A First Look
> Now you can quit Postgres by simply typing quit or exit. Previously you had to use Ctrl + D or \q<p>While this is good to help out beginners a bit, people should really learn Ctrl + D. It works practically everywhere and saves tons of time guessing/remembering and even typing the correct incantation for the program you want to exit.