| От | Tom Lane |
|---|---|
| Тема | Re: LISTEN/NOTIFY race condition? |
| Дата | |
| Msg-id | 3683.1204681994@sss.pgh.pa.us обсуждение |
| Ответ на | LISTEN/NOTIFY race condition? (Laurent Birtz <laurent.birtz@kryptiva.com>) |
| Ответы |
Re: LISTEN/NOTIFY race condition?
|
| Список | pgsql-bugs |
Laurent Birtz <laurent.birtz@kryptiva.com> writes:
> From the observed sequence of events, it would appear that the event
> thread inserts a tuple in the pg_listener table BEFORE the command thread
> actually commits the transaction. However, when this transaction commits,
> Postgres does not actually find the event thread's tuple in this table.
I'm wondering exactly when you commit the LISTEN? The command thread
can't see the pg_listener tuple until it's committed ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера