Re: Async_Notify - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Async_Notify
Date
Msg-id CAFj8pRCBJ37o42j=LXr6KrtijrFuqW+FXCk6msQrp4pqHJkmFQ@mail.gmail.com
Whole thread Raw
In response to Async_Notify  (Арсен Арутюнян <arutar@bk.ru>)
Responses Re[2]: Async_Notify  (Арсен Арутюнян <arutar@bk.ru>)
List pgsql-hackers
Hi

pá 13. 12. 2019 v 10:00 odesílatel Арсен Арутюнян <arutar@bk.ru> napsal:
Hello! I wrote my extension for PG and am trying to run Async_Notify from it. But messages come very late! Sometimes only after I execute the notify command from the shell. What am I doing wrong? How to use Async_Notify correctly.
 

I am not sure what mechanism do you use.

Notify messages are send after successful  end of transaction.

Regards

Pavel
 
--
Арсен Арутюнян

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions
Next
From: Josef Šimánek
Date:
Subject: [PATCH] Improve documentation of REINDEX options