Non-blocking query cancellation
libpq non-blocking, encrypted cancel API and moving frontend tools off PQcancel.
Versions
- PostgreSQL 18 · worked-on · improved · moderate
- PostgreSQL 17 · shipped · improved · moderate · 14 commits · +2k / -696 lines
- PostgreSQL 16 · shipped · improved · moderate · 1 commit · +34 / -0 lines
- PostgreSQL 15 · worked-on · improved · moderate
Threads
- Don't use the deprecated and insecure PQcancel in our frontend tools anymore
- [PATCH] Fix hostaddr crash during non-blocking cancellation
- BUG #18974: Postgresql repeatable crash after pg_upgrade from 15 to 17.5 version in postgresql_fdw queries
- Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)
- Add non-blocking version of PQcancel
- Fix a comment on PQcancelErrorMessage
- Fix calloc check if oom (PQcancelCreate)
- pgbnech: allow to cancel queries during benchmark