Re: BUG #16006: Update queries fail on a table having any policy with a function that takes a whole-row var as arg
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #16006: Update queries fail on a table having any policy with a function that takes a whole-row var as arg |
| Дата | |
| Msg-id | 23378.1568348957@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #16006: Update queries fail on a table having any policy with a function that takes a whole-row var as arg (PG Bug reporting form <noreply@postgresql.org>) |
| Ответы |
Re: BUG #16006: Update queries fail on a table having any policy witha function that takes a whole-row var as arg
|
| Список | pgsql-bugs |
Vinay Banakar <vinay.s.banakar@gmail.com> writes:
> Thank you for finding the root cause, I just checked on 9.15.17 and it is
> still failing here also.
> But I distinctly remember it working earlier, not sure which version of pg
> (at least <9.5.16) though as I have lost that earlier setup.
Oh! I misread your report as being that it worked on 9.5.x and failed
on 9.6.x. If it really did work on some earlier 9.5.x version, then
we must've busted it with a patch ... but what? That bizarre code in
ExecEvalWholeRowVar is much older than 9.5 (looks like it dates to
8e617e29a), and the mistake proper goes back to the introduction of
WITH CHECK OPTION in 9.4 (4cbe3ac3e). I'm not seeing any other
moving parts here.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера