Skip to content

feat(pg): add abortable query cancellation - #3751

Open
maxbronnikov10 wants to merge 1 commit into
brianc:masterfrom
maxbronnikov10:feat/add-abort-signal
Open

feat(pg): add abortable query cancellation#3751
maxbronnikov10 wants to merge 1 commit into
brianc:masterfrom
maxbronnikov10:feat/add-abort-signal

Conversation

@maxbronnikov10

Copy link
Copy Markdown
Contributor

Use a dedicated cancellation connection and hold each client queue until both the target reaches ReadyForQuery and cancel transport closes.

Refs #2774

Use a dedicated cancellation connection and hold each client queue until
both the target reaches ReadyForQuery and cancel transport closes. This
prevents a late cancellation from hitting following work.

Support AbortSignal and cancelQuery across JavaScript and native
clients. Fail closed when active signal cancellation becomes uncertain,
and document race, pool, transaction, TLS, and pipeline semantics.

Refs brianc#2774
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.

1 participant