\l
\c dbname
\dt
\d tablename
正常的SQL语句,例如(select * from alarminfobean;)
\di
\q
psql的命令行
原文:https://www.cnblogs.com/erdanyang/p/11274048.html