--- a/src/bin/psql/common.c	2018-08-06 17:07:43.000000000 -0300
+++ b/src/bin/psql/common.c	2018-10-21 13:03:17.000000000 -0300
@@ -287,6 +287,7 @@
 setup_cancel_handler(void)
 {
 	pqsignal(SIGINT, handle_sigint);
+	pqsignal(SIGQUIT, handle_sigint);
 }
 #else							/* WIN32 */
 
