diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-07-21 20:03:58 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-07-21 20:03:58 -0400 |
commit | 46d0a9bfac3d5221702318cc1cf119221d729c84 (patch) | |
tree | 8ad95b8fad968f693e24f17d49969d19851d35d4 /src/backend/access/tablesample/tablesample.c | |
parent | c6fbe6d6fb828f50b9d67627588eb5ab8bd25e47 (diff) | |
download | postgresql-46d0a9bfac3d5221702318cc1cf119221d729c84.tar.gz postgresql-46d0a9bfac3d5221702318cc1cf119221d729c84.zip |
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.
Diffstat (limited to 'src/backend/access/tablesample/tablesample.c')
0 files changed, 0 insertions, 0 deletions