forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8a2e323
committed
Handle mixed returnable and non-returnable columns better in IOS.
We can revert the code changes of commitb5febc1 now, becausecommit9a3ddeb installed a real solution for the difficultythatb5febc1 just dodged, namely that the planner might pickthe wrong one of several index columns nominally containing thesame value. It only matters which one we pick if we pick onethat's not returnable, and that mistake is now foreclosed.Although both of the aforementioned commits were back-patched,I don't feel a need to take any risk by back-patching this one.The cases that it improves are very corner-ish.Discussion:https://postgr.es/m/3179992.1641150853@sss.pgh.pa.us1 parent9a3ddeb commit8a2e323
File tree
3 files changed
+6
-19
lines changed- contrib/btree_gist
- expected
- sql
- src/backend/optimizer/path
3 files changed
+6
-19
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
90 |
| - | |
| 89 | + | |
| 90 | + | |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
Lines changed: 1 addition & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1807 | 1807 |
| |
1808 | 1808 |
| |
1809 | 1809 |
| |
1810 |
| - | |
1811 | 1810 |
| |
1812 | 1811 |
| |
1813 | 1812 |
| |
| |||
1847 | 1846 |
| |
1848 | 1847 |
| |
1849 | 1848 |
| |
1850 |
| - | |
1851 |
| - | |
1852 |
| - | |
1853 |
| - | |
1854 |
| - | |
| 1849 | + | |
1855 | 1850 |
| |
1856 | 1851 |
| |
1857 | 1852 |
| |
| |||
1868 | 1863 |
| |
1869 | 1864 |
| |
1870 | 1865 |
| |
1871 |
| - | |
1872 |
| - | |
1873 |
| - | |
1874 |
| - | |
1875 | 1866 |
| |
1876 | 1867 |
| |
1877 |
| - | |
1878 |
| - | |
1879 |
| - | |
1880 | 1868 |
| |
1881 | 1869 |
| |
1882 | 1870 |
| |
1883 | 1871 |
| |
1884 | 1872 |
| |
1885 |
| - | |
1886 | 1873 |
| |
1887 | 1874 |
| |
1888 | 1875 |
| |
|
0 commit comments
Comments
(0)