| От | Tom Lane |
|---|---|
| Тема | Re: with and trigger |
| Дата | |
| Msg-id | 2699.1559143289@sss.pgh.pa.us обсуждение |
| Ответ на | Re: with and trigger (Ron <ronljohnsonjr@gmail.com>) |
| Список | pgsql-general |
Ron <ronljohnsonjr@gmail.com> writes: > On 5/29/19 8:26 AM, Tom Lane wrote: >> This doesn't explicitly talk about triggers, but I think our attitude >> about the case you're discussing is that the results are unspecified. >> If a trigger fired in one WITH arm tries to look at the table(s) >> modified by other WITH arms, it might or might not see those changes. > Are CTEs still optimization fences? > https://www.2ndquadrant.com/en/blog/postgresql-ctes-are-optimization-fences/ Yes, if they contain data-modifying statements ... but that's not relevant to the point at hand, which is that the run-time behavior is not specified. regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера