aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/tablesample/tablesample.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-07-21 20:03:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-07-21 20:03:58 -0400
commit46d0a9bfac3d5221702318cc1cf119221d729c84 (patch)
tree8ad95b8fad968f693e24f17d49969d19851d35d4 /src/backend/access/tablesample/tablesample.c
parentc6fbe6d6fb828f50b9d67627588eb5ab8bd25e47 (diff)
downloadpostgresql-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