aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2014-08-26 23:08:41 -0400
committerStephen Frost <sfrost@snowman.net>2014-08-26 23:08:41 -0400
commite414ba93add966dfe03e22994764e718ed89ee98 (patch)
tree4646165a70331bbd1d57c7672360a0806dc8b412 /src/backend/executor/execMain.c
parent8e484bc4abccc03d49af25d32a5ffaecd3c6cf2d (diff)
downloadpostgresql-e414ba93add966dfe03e22994764e718ed89ee98.tar.gz
postgresql-e414ba93add966dfe03e22994764e718ed89ee98.zip
Fix Var handling for security barrier views
In some cases, not all Vars were being correctly marked as having been modified for updatable security barrier views, which resulted in invalid plans (eg: when security barrier views were created over top of inheiritance structures). In passing, be sure to update both varattno and varonattno, as _equalVar won't consider the Vars identical otherwise. This isn't known to cause any issues with updatable security barrier views, but was noticed as missing while working on RLS and makes sense to get fixed. Back-patch to 9.4 where updatable security barrier views were introduced.
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions