forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit438e6b7
committed
Remove some dead code in selfuncs.c
RelOptInfo.userid is the same for all relations in a given inheritancetree, so the code in examine_variable() and example_simple_variable()that repeats the ACL checks on the root parent rel instead of a givenleaf child relations need not recompute userid too.Author: Amit Langote <amitlangote09@gmail.com>Reported-by: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://postgr.es/m/20221210201753.GA27893@telsasoft.com1 parent4888084 commit438e6b7
2 files changed
+16
-27
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
500 | 500 |
| |
501 | 501 |
| |
502 | 502 |
| |
503 |
| - | |
504 | 503 |
| |
505 | 504 |
| |
506 | 505 |
| |
|
Lines changed: 16 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5080 | 5080 |
| |
5081 | 5081 |
| |
5082 | 5082 |
| |
| 5083 | + | |
| 5084 | + | |
| 5085 | + | |
| 5086 | + | |
| 5087 | + | |
| 5088 | + | |
| 5089 | + | |
| 5090 | + | |
| 5091 | + | |
| 5092 | + | |
| 5093 | + | |
| 5094 | + | |
5083 | 5095 |
| |
5084 | 5096 |
| |
5085 | 5097 |
| |
| |||
5150 | 5162 |
| |
5151 | 5163 |
| |
5152 | 5164 |
| |
5153 |
| - | |
5154 | 5165 |
| |
5155 | 5166 |
| |
5156 | 5167 |
| |
5157 | 5168 |
| |
5158 |
| - | |
5159 |
| - | |
5160 |
| - | |
5161 |
| - | |
5162 |
| - | |
5163 |
| - | |
5164 |
| - | |
5165 | 5169 |
| |
5166 | 5170 |
| |
5167 | 5171 |
| |
| |||
5212 | 5216 |
| |
5213 | 5217 |
| |
5214 | 5218 |
| |
5215 |
| - | |
5216 |
| - | |
5217 |
| - | |
5218 | 5219 |
| |
5219 | 5220 |
| |
5220 | 5221 |
| |
| |||
5281 | 5282 |
| |
5282 | 5283 |
| |
5283 | 5284 |
| |
5284 |
| - | |
5285 |
| - | |
5286 | 5285 |
| |
5287 | 5286 |
| |
5288 | 5287 |
| |
| |||
5292 | 5291 |
| |
5293 | 5292 |
| |
5294 | 5293 |
| |
5295 |
| - | |
5296 |
| - | |
5297 |
| - | |
5298 |
| - | |
5299 |
| - | |
5300 |
| - | |
5301 |
| - | |
5302 | 5294 |
| |
5303 | 5295 |
| |
5304 | 5296 |
| |
| |||
5345 | 5337 |
| |
5346 | 5338 |
| |
5347 | 5339 |
| |
5348 |
| - | |
5349 |
| - | |
5350 |
| - | |
5351 | 5340 |
| |
5352 | 5341 |
| |
5353 | 5342 |
| |
| |||
5486 | 5475 |
| |
5487 | 5476 |
| |
5488 | 5477 |
| |
5489 |
| - | |
5490 |
| - | |
5491 |
| - | |
| 5478 | + | |
| 5479 | + | |
| 5480 | + | |
| 5481 | + | |
5492 | 5482 |
| |
5493 | 5483 |
| |
5494 | 5484 |
| |
|
0 commit comments
Comments
(0)