Type \q
and then press ENTER
to quit psql
.
(键入\q
然后按ENTER
退出psql
。)
UPDATE: 19-OCT-2018
(更新:19-OCT-2018)
As of PostgreSQL 11 , the keywords " quit
" and " exit
" in the PostgreSQL command-line interface have been included to help make it easier to leave the command-line tool.
(从PostgreSQL 11开始 ,PostgreSQL命令行界面中的关键字“ quit
”和“ exit
”已被包含在内,以帮助您更轻松地离开命令行工具。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…