forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit37168b8
committed
Clean up handling of variable-free qual clauses. System now does the
right thing with variable-free clauses that contain noncachable functions,such as 'WHERE random() < 0.5' --- these are evaluated once perpotential output tuple. Expressions that contain only Params arenow candidates to be indexscan quals --- for example, 'var = ($1 + 1)'can now be indexed. Cope with RelabelType nodes atop potential indexscanvariables --- this oversight prevents 7.0.* from recognizing somepotentially indexscanable situations.1 parent766fb7f commit37168b8
File tree
15 files changed
+396
-163
lines changed- src
- backend
- executor
- optimizer
- path
- plan
- util
- utils/cache
- include
- executor
- nodes
- optimizer
- utils
- pl/plpgsql/src
15 files changed
+396
-163
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
284 | 294 | | |
285 | 295 | | |
286 | 296 | | |
| |||
335 | 345 | | |
336 | 346 | | |
337 | 347 | | |
338 | | - | |
339 | 348 | | |
340 | 349 | | |
| 350 | + | |
| 351 | + | |
341 | 352 | | |
342 | 353 | | |
343 | 354 | | |
| |||
420 | 431 | | |
421 | 432 | | |
422 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
423 | 437 | | |
424 | 438 | | |
425 | 439 | | |
| |||
603 | 617 | | |
604 | 618 | | |
605 | 619 | | |
606 | | - | |
607 | 620 | | |
608 | 621 | | |
609 | 622 | | |
| |||
656 | 669 | | |
657 | 670 | | |
658 | 671 | | |
| 672 | + | |
659 | 673 | | |
660 | 674 | | |
661 | 675 | | |
| |||
787 | 801 | | |
788 | 802 | | |
789 | 803 | | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
790 | 807 | | |
791 | 808 | | |
792 | 809 | | |
| |||
827 | 844 | | |
828 | 845 | | |
829 | 846 | | |
830 | | - | |
831 | 847 | | |
832 | 848 | | |
833 | 849 | | |
| |||
857 | 873 | | |
858 | 874 | | |
859 | 875 | | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
860 | 879 | | |
861 | 880 | | |
862 | 881 | | |
| |||
906 | 925 | | |
907 | 926 | | |
908 | 927 | | |
909 | | - | |
910 | 928 | | |
911 | 929 | | |
912 | 930 | | |
| |||
1068 | 1086 | | |
1069 | 1087 | | |
1070 | 1088 | | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | 1089 | | |
1078 | 1090 | | |
1079 | 1091 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
536 | 543 | | |
537 | 544 | | |
538 | 545 | | |
0 commit comments
Comments
(0)