1、常见指令
1、进入数据库
psql databaseName
1、问题
1、drop table指令出现ERROR: cannot drop table userinfo because other objects depend on it
原因
登录数据的用户和创建这个table的用户不是同一个用户
解决
drop table tableName cascade
参考资料:https://blog.csdn.net/IDOshi201109/article/details/50899810