| От | Tom Lane |
|---|---|
| Тема | Re: [DOCS] Prepare transaction doesn't mention NOTIFY |
| Дата | |
| Msg-id | 14803.1509116340@sss.pgh.pa.us обсуждение |
| Ответ на | [DOCS] Prepare transaction doesn't mention NOTIFY (mark@inomial.com) |
| Список | pgsql-docs |
mark@inomial.com writes:
> Hi, in prepare transaction documentation in PG10 and earlier, it says that
> you can't prepare a transaction with LISTEN or UNLISTEN but it doesn't
> mention NOTIFY.
Yup, that's an oversight --- fixed.
> I know this isn't the place to ask (and I'll never see the answer :) but I'm
> baffled by the lack of support for NOTIFY in prepared transactions,
The big problem is that we can't do anything at PREPARE time to guarantee
that the NOTIFY will succeed. Admittedly, the queue is large enough that
failure to insert the message isn't too likely, but "probably it will
work" is not the semantics we want from PREPARE.
regards, tom lane
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера