Skip to content
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

function for pg_notify #92

Open
yaitskov opened this issue May 27, 2022 · 1 comment
Open

function for pg_notify #92

yaitskov opened this issue May 27, 2022 · 1 comment

Comments

@yaitskov
Copy link

Hi,

I explore PostgreSQL listen/notify feature. There is a getNotification function but there is not wrapper function for sending notifications. I can use pg_notify and select, but it doesn't look symmetrical.

@wraithm
Copy link

wraithm commented Jun 16, 2022

You can do execute_ conn "NOTIFY <channel>, <payload>"

as described here: https://www.postgresql.org/docs/14/sql-notify.html

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

No branches or pull requests

2 participants