登录 PGPASSWORD={password} psql -U {user} -p port \c : 列出数据库 \d: 列出表 \d tableName 显示表结构 select …; \g\x\g 垂直显示