Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
571 views
in Technique[技术] by (71.8m points)

postgresql - 如何退出PostgreSQL命令行实用程序:psql(How to exit from PostgreSQL command line utility: psql)

我可以使用什么命令或短键来退出PostgreSQL命令行实用程序psql

  ask by App Work translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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 ”已被包含在内,以帮助您更轻松地离开命令行工具。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...