postgresql执行创建和删除时遇到的问题
删除数据库的时候出现的问题
有连接在占用
postgres=# DROP DATABASE "subgraph-dev";
ERROR: database "subgraph-dev" is being accessed by other users
DETAIL: There is 1 other session using the database.
强制断开在用的连接
-- 替换 subgraph-dev 为你的数据库名
删除数据库的时候出现的问题
有连接在占用
postgres=# DROP DATABASE "subgraph-dev";
ERROR: database "subgraph-dev" is being accessed by other users
DETAIL: There is 1 other session using the database.
强制断开在用的连接
-- 替换 subgraph-dev 为你的数据库名