How to exit from postgres command line ?

You have a single match and are in a pitch black room with a candle, an oil lamp and a prompt terminal opened at psql. Which do you light first?

postgres=# \q

🙂 Don’t miss the anti-slash, you can type it on osX with Shift + Option + /

If this helped you, you can buy me a boat or maybe a beer.