PostgreSQLバックエンドの処理を中断、またはバックエンドを終了させます。
pt-kill [options...] [command] [pid]
cancel Cancel a running query.
terminate Terminate a backend with canceling query.
--help Print this help.
特になし。
プロセスID 3289 で実行中のSQLをキャンセルします。
$ pt-kill cancel 3289
プロセスID 3291 で実行中のバックエンドを終了します。
$ pt-kill terminate 3291