On 24 February 2016 at 20:27, Stephen Frost wrote:
> Yeah, looks like a bug to me. My gut reaction is that we're pulling up
> a subquery in a way that isn't possible and that plan shouldn't be
> getting built/considered.
Thanks - shall I go ahead and submit a bug report?
>
> As a work-around, u
Hi,
Whilst trying to use row level security with a subquery in the USING
expression, I'm receiving an error "plan should not reference
subplan's variable"
A simple sql file to reproduce:
CREATE TABLE a (
id INTEGER PRIMARY KEY
);
CREATE TABLE b (
id INTEGER PRIMARY KEY,