468,790 Members | 1,834 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,790 developers. It's quick & easy.

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 2789

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
reply views Thread by zhoujie | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.