\l
\c dbname
\dt
\d tablename
正常的SQL语句,例如(select * from alarminfobean;)
\di
\q
\du
\i /home/postgres/alarminfobean.sql