postgresql 删除库的时候报错database "temp_test_yang" is being accessed by other users
删除库的时候报错ERROR:database"temp_test_yang"isbeingaccessedbyotherusersDETAIL:Thereare4othersessionsusingthedatabase.说明该temp_test_yang库正在被人连接。解决方法是:查询出连接该数据库的进程,并将其杀死(比较暴力)selectpg_terminate_backend(pid)fro