Asks the server to stop what c is running: a CancelRequest on a connection of its own, over
TLS when c uses it. The server answers nothing and closes that connection once it has acted.
Whether a statement was stopped shows on c (QUERY_CANCELED), not here.
- c: the connection whose statement is to be stopped.
send_cancel_request :: (c: *Connection) -> Pg_Error
Asks the server to stop what c is running: a CancelRequest on a connection of its own, over
TLS when c uses it. The server answers nothing and closes that connection once it has acted.
Whether a statement was stopped shows on c (QUERY_CANCELED), not here.
Parameters
- c: *Connection
- the connection whose statement is to be stopped.