-
Notifications
You must be signed in to change notification settings - Fork 5k
Add sql.listen() and sql.notify() for PostgreSQL LISTEN/NOTIFY #32089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,863
−25
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
99af87d
postgres: decode NotificationResponse and BackendKeyData, add onnotif…
robobun cb10ec9
sql: add listen(), unlisten() and notify() for PostgreSQL
robobun 601fda5
sql: copy-on-write listener lists; tests for listen/unlisten/notify
robobun a10c042
sql: tighten listen/notify comments
robobun 17e92de
sql: report onlisten exceptions like onnotify; reject channel names o…
robobun d9628cb
sql: isolate throwing listeners from each other; arm the repair sweep…
robobun 3755765
sql test: observe the rejected listen() calls with plain awaits
robobun 894766c
sql: listen() resolves to a subscription object; drop sql.unlisten() …
robobun cfac44b
sql test: assert the absence of unlisten() on Postgres handles; short…
robobun c15aea7
Merge branch 'main' into farm/fce8bc84/pg-listen-notify
cirospaciari d789e8e
sql: two-line Channel comment
robobun 2f616cb
sql: listen() rejects when the client is closed before its LISTEN was…
robobun db9546a
sql test: port the postgres.js LISTEN/NOTIFY tests into the docker suite
robobun 06ec075
Merge branch 'main' into farm/fce8bc84/pg-listen-notify
robobun 915989f
sql: use Promise.withResolvers in ListenQuery.run
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.