linux postgre常用命令

su - postgres

psql

\l  --显示数据库

\c 数据库名,如 \c userdb

\q 退出

 

posted @ 2020-03-20 15:29  君子笑而不语  阅读(452)  评论(0编辑  收藏  举报