PostgresSQL-OCaml currently wraps only the deprecated PQcancel function. The modern cancel functions can be found at:
At the very minimum, for async clients following functions are needed:
- PQcancelCreate
- PQcancelFinish
- PQcancelStart
- PQcancelPoll
- PQcancelSocket
And for sync clients:
- PQcancelCreate
- PQcancelFinish
- PQcancelBlocking