ฉันจะฆ่าการเชื่อมต่อ postgresql ทั้งหมดได้อย่างไร
ฉันพยายามrake db:dropแต่ฉันได้รับ:
ERROR: database "database_name" is being accessed by other users
DETAIL: There are 1 other session(s) using the database.
ฉันได้ลองปิดกระบวนการที่ฉันเห็นจาก a ps -ef | grep postgresแต่มันไม่ทำงาน:
kill: kill 2358 failed: operation not permitted