[COMMITTERS] pgsql: Fix incorrect varlevelsup in security_barrier_replace_vars().

2016-02-29 Thread Dean Rasheed
Fix incorrect varlevelsup in security_barrier_replace_vars(). When converting an RTE with securityQuals into a security barrier subquery RTE, ensure that the Vars in the new subquery's targetlist all have varlevelsup = 0 so that they correctly refer to the underlying base relation being wrapped.

[COMMITTERS] pgsql: Fix incorrect varlevelsup in security_barrier_replace_vars().

2016-02-29 Thread Dean Rasheed
Fix incorrect varlevelsup in security_barrier_replace_vars(). When converting an RTE with securityQuals into a security barrier subquery RTE, ensure that the Vars in the new subquery's targetlist all have varlevelsup = 0 so that they correctly refer to the underlying base relation being wrapped.

[COMMITTERS] pgsql: Fix incorrect varlevelsup in security_barrier_replace_vars().

2016-02-29 Thread Dean Rasheed
Fix incorrect varlevelsup in security_barrier_replace_vars(). When converting an RTE with securityQuals into a security barrier subquery RTE, ensure that the Vars in the new subquery's targetlist all have varlevelsup = 0 so that they correctly refer to the underlying base relation being wrapped.