pg_cancel_backend():. 本函数只会cancel掉正在running的query,你可以使用pg_stat_activity来获得long running queires 的pid。
確定! 回上一頁