pt-kill

Summary

Interrupting the processing of PostgreSQL backend, or to exit it.

Usage

pt-kill [options...] [command] [pid]

Commands

cancel                     Cancel a running query.
terminate                  Terminate a backend with canceling query.

Options

--help                     Print this help.

Output Items

None.

Examples

Cancel the SQL running in the process ID 3289.

$ pt-kill cancel 3289

Exit the backend in the process ID 3219.

$ pt-kill terminate 3291