登录: psql -h localhost -p 1030 -U root postgres
显示所有数据库:\l
进入数据库:\c database
显示库中所有表: \dt
查看表结构:\d tablename