471,088 Members | 1,295 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,088 software developers and data experts.

Listen and notify in psql process

How to listen from within a psql process and get the payloads?

Do Postgres has any such a mechanism where in a session a process send a "listen <name>" sql command and then gets a message if someone in the other session issued a "notify <name>".

Please provide an example how to do this.
Jun 16 '21 #1
0 3257

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Alessandro GARDICH | last post: by
3 posts views Thread by CSN | last post: by
3 posts views Thread by Tulga Kalayci | last post: by
4 posts views Thread by Joe Lester | last post: by
4 posts views Thread by Glenn Sullivan | last post: by
2 posts views Thread by Russ Brown | last post: by
2 posts views Thread by bahoo | last post: by
4 posts views Thread by Christian Welzel | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.