Kill a postgresql session/connection

前端 未结 20 1944
暖寄归人
暖寄归人 2020-11-28 00:11

How can I kill all my postgresql connections?

I\'m trying a rake db:drop but I get:

ERROR:  database \"database_name\" is being accessed         


        
20条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 00:35

    I'm on a mac and I use postgres via Postgres.app. I solved this problem just quitting and starting again the app.

提交回复
热议问题