Use it with your first select: SELECT pg_cancel_backend(pid) FROM pg_stat_activity WHERE usename='foo_user'.
確定! 回上一頁