Re: BUG #15060: Row in table not found when using pg function in anexpression
В списке pgsql-bugs по дате отправления:
| От | Mark Scheffer |
|---|---|
| Тема | Re: BUG #15060: Row in table not found when using pg function in anexpression |
| Дата | |
| Msg-id | 1518445209487-0.post@n3.nabble.com обсуждение исходный текст |
| Ответ на | Re: BUG #15060: Row in table not found when using pg function in an expression (Marko Tiikkaja <marko@joh.to>) |
| Список | pgsql-bugs |
Marko Tiikkaja-4 wrote > I don't think this is relevant, since the changes were NOT made by the SQL > command calling the function. They were made by the INSERT which executed > earlier in a VOLATILE function. Yes I should have read a few lines further, and wake up: > Because of this snapshotting behavior, a function containing only SELECT > commands can safely be marked STABLE, even if it selects from tables that > might be undergoing modifications by concurrent queries. PostgreSQL will > execute all commands of a STABLE function using the snapshot established > for the calling query, and so it will see a fixed view of the database > throughout that query. Sorry for inconvenience. Hope the VOLATILE-STABLE difference in behavior helps in resolving this bug. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-bugs-f2117394.html
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера