forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit46d0a9b
committed
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 thesecurityQuals field, leading to wasteful copying of useless expressiontrees in finished plans, while TABLESAMPLE neglected to add a commentsaying that it intentionally *isn't* deleting the tablesample subtree.There probably should be a similar comment about ctename, too.Back-patch as appropriate.1 parentc6fbe6d commit46d0a9b
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
372 | 372 |
| |
373 | 373 |
| |
374 | 374 |
| |
375 |
| - | |
376 |
| - | |
377 |
| - | |
378 |
| - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
379 | 380 |
| |
380 | 381 |
| |
381 | 382 |
| |
| |||
395 | 396 |
| |
396 | 397 |
| |
397 | 398 |
| |
| 399 | + | |
398 | 400 |
| |
399 | 401 |
| |
400 | 402 |
| |
| |||
1199 | 1201 |
| |
1200 | 1202 |
| |
1201 | 1203 |
| |
1202 |
| - | |
| 1204 | + | |
1203 | 1205 |
| |
1204 | 1206 |
| |
1205 | 1207 |
| |
|
0 commit comments
Comments
(0)