为什么 connect 和 disconnect 命令在 psql 上不起作用?

Why don't connect and disconnect commands work on psql?

我是 postgre 新手sql。我一直在使用 psql 工具来熟悉 sql 命令。为什么我的 psql 安装不能识别 CONNECT 和 DISCONNECT 命令?

没有CONNECTDISCONNECT... 读: psql and SQL and embedded SQL in C

Postgres SQL 命令不同于 Oracle SQL 命令

试试这个:\c 是 psql 下 connect 的别名。

 \c mydb;

 \?  

也会给你一些帮助。