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 | 41ae3b74d987d5d42f2c432812285c7d12d6f4c1 (patch) | |
tree | ec0f31e6349189063ef0fdb833e403f9a8ccf169 /src/backend/utils/adt/jsonb.c | |
parent | 35ac618a7c4602b792160ae0d77b6dfb289f517e (diff) | |
download | postgresql-41ae3b74d987d5d42f2c432812285c7d12d6f4c1.tar.gz postgresql-41ae3b74d987d5d42f2c432812285c7d12d6f4c1.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/utils/adt/jsonb.c')
0 files changed, 0 insertions, 0 deletions