postgresql 使用\c 命令切換數據庫和用戶

命令格式:sql 切換數據庫:\c [database_name]數據庫 切換用戶:\c - [user_name]bash 先連上用戶postgres、數據庫postgrespost $ su - postgresspa Last login: Wed Mar 1 13:16:48 CST 2017 on pts/1 -bash-4.2$ psqlast psql (9.2.18) Type "
相關文章
相關標籤/搜索