Re: BUG #13988: "plan should not reference subplan's variable" whilst using row level security - Mailing list pgsql-bugs

From Dean Rasheed
Subject Re: BUG #13988: "plan should not reference subplan's variable" whilst using row level security
Date
Msg-id CAEZATCVQyxHHzaqbKaP4L-3=g1W+XDk+OPcrW=kv+FWM_Rtvyw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #13988: "plan should not reference subplan's variable" whilst using row level security  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-bugs
On 26 February 2016 at 08:27, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> I just did a quick test, and setting newvar->varlevelsup to 0 does
> indeed appear to fix the reported problem, and the SB views variant of
> it.
>

OK, confirmed. That was a pretty clear-cut bug in the updatable
security barrier views code.

Fix pushed to master and backpatched to 9.4.

Thanks for the report.

Regards,
Dean

pgsql-bugs by date:

Previous
From: Thom Brown
Date:
Subject: Re: Server crash with certain encodings
Next
From: Euler Taveira
Date:
Subject: Re: BUG #13993: Temp sequence does not seem to be properly deleted