Re: BUG #16006: Update queries fail on a table having any policy with a function that takes a whole-row var as arg
Vinay Banakar <vinay.s.banakar@gmail.com>
From: Vinay Banakar <vinay.s.banakar@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>, pgsql-bugs@lists.postgresql.org
Date: 2019-09-13T04:13:21Z
Lists: pgsql-bugs
Hello, 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. Regards Vinay On Fri, Sep 13, 2019 at 3:58 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > Andres Freund <andres@anarazel.de> writes: > > I don't quite understand how this "visibly" broke between 9.5.15 and > > 9.5.19 as the op reports? Haven't dug into it yet though. > > I'm confused about that too, since in my hands the submitted test > case fails in both of those branches. I've also been able to > adapt it to fail in v10/v11. Will commit in a moment. > > regards, tom lane >
Commits
-
Fix usage of whole-row variables in WCO and RLS policy expressions.
- b54cff2bf32d 10.11 landed
- 64d926f2b073 11.6 landed
- 7f1f72c44400 13.0 landed
- ca08ea52bfbc 9.4.25 landed
- b00132b9a2b5 9.6.16 landed
- aee5736f1540 9.5.20 landed
- 5e9b18c78789 12.0 landed