Skip to content

feat: high-level connection manager and cancel support#427

Merged
sunng87 merged 10 commits intomasterfrom
feature/connection-manager
Apr 20, 2026
Merged

feat: high-level connection manager and cancel support#427
sunng87 merged 10 commits intomasterfrom
feature/connection-manager

Conversation

@sunng87
Copy link
Copy Markdown
Owner

@sunng87 sunng87 commented Apr 18, 2026

This patch adds advanced query cancel support. This is done by:

  • Add a PidSecretKeyGenerator trait and a default implementation
  • Add a ConnectionManager to hold authenticated ConnectionHandle, for cross-connection communication
  • Updated default CancelHanlder implementation to use ConnectionManager to cancel query
  • Updated all built-in StartupHandler implementation to accept optional ConnectionManager and custom PidSecretKeyGenerator.

All changes in this patch are optional. Users who don't use cancel feature will not be affected.

@sunng87 sunng87 linked an issue Apr 19, 2026 that may be closed by this pull request
@sunng87 sunng87 marked this pull request as ready for review April 19, 2026 13:54
@sunng87 sunng87 merged commit 1aad833 into master Apr 20, 2026
10 checks passed
@sunng87 sunng87 deleted the feature/connection-manager branch April 20, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

High-level API for cancellation

1 participant