Re: Restrictions of channel arg of pg_notofy

Поиск
Список
Период
Сортировка
От Axel Rau
Тема Re: Restrictions of channel arg of pg_notofy
Дата
Msg-id E5B1FE41-D93A-4CA3-8754-1650A90CBFAD@Chaos1.DE
обсуждение исходный текст
Ответ на Re: Restrictions of channel arg of pg_notofy  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Restrictions of channel arg of pg_notofy
Список pgsql-sql


Am 27.04.2019 um 20:51 schrieb Tom Lane <tgl@sss.pgh.pa.us>:

I think more likely what you're running into is that the NOTIFY won't
be delivered until end of transaction?

Both the INSERT and the LISTEN are one-statement transactions.
I have investigated further:
pg_notify does not work at all, even with a constant string channel arg.
NOTIFY works.
This is release 11.2.

What am I doing wrong?
Axel
---
PGP-Key:29E99DD6  ☀  computing @ chaos claudius

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Restrictions of channel arg of pg_notofy
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Restrictions of channel arg of pg_notofy