git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c6fbe6d) | patch
Fix add_rte_to_flat_rtable() for recent feature additions.
2015年7月22日 00:03:58 +0000 (20:03 -0400)
2015年7月22日 00:03:58 +0000 (20:03 -0400)
commit 46d0a9bfac3d5221702318cc1cf119221d729c84
Fix add_rte_to_flat_rtable() for recent feature additions.

The TABLESAMPLE and row security patches each overlooked this function,
though their errors of omission were opposite: RLS failed to zero out the
securityQuals field, leading to wasteful copying of useless expression
trees in finished plans, while TABLESAMPLE neglected to add a comment
saying that it intentionally *isn't* deleting the tablesample subtree.
There probably should be a similar comment about ctename, too.

Back-patch as appropriate.
src/backend/optimizer/plan/setrefs.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /