Listen and notify in psql process

Поиск
Список
Период
Сортировка
От Sakshi Jain
Тема Listen and notify in psql process
Дата
Msg-id CACjnedJREryjgkHBtpuDY+xo2MtVVrnt6KFyCvh4TAgxnNaKMg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Listen and notify in psql process
Список pgsql-sql
Hi Team,

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

Do Postgres have 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 of how to do this.

--
Thanks & Regards
Sakshi Jain
New Delhi
8882433263
 

В списке pgsql-sql по дате отправления:

Предыдущее
От: Дмитрий Иванов
Дата:
Сообщение: Re: function INPUT as whole table
Следующее
От: Erik Brandsberg
Дата:
Сообщение: Re: Listen and notify in psql process