Re: Async_Notify

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Арсен Арутюнян <arutar(at)bk(dot)ru>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Async_Notify
Date: 2019-12-13 09:19:19
Message-ID: CAFj8pRCBJ37o42j=LXr6KrtijrFuqW+FXCk6msQrp4pqHJkmFQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

pá 13. 12. 2019 v 10:00 odesílatel Арсен Арутюнян <arutar(at)bk(dot)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

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

In response to

  • Async_Notify at 2019-12-12 18:30:48 from Арсен Арутюнян

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josef Šimánek 2019-12-13 09:28:33 [PATCH] Improve documentation of REINDEX options
Previous Message Amit Kapila 2019-12-13 09:16:20 Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions