Commit 60fbb4d
committed
Simplify cost_incremental_sort a bit
Commit de0dc1a added code to cost_incremental_sort to handle varno 0.
Explicitly removing the RelabelType is not really necessary, because the
pull_varnos handles that just fine, which simplifies the code a bit.
Author: Richard Guo
Discussion: https://postgr.es/m/CAMbWs4_3_D2J5XxOuw68hvn0-gJsw9FXNSGcZka9aTymn9UJ8A%40mail.gmail.com
Discussion: https://postgr.es/m/20200411214639.GK2228%40telsasoft.com1 parent 2e08d31 commit 60fbb4d
1 file changed
+1
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1842 | 1842 | | |
1843 | 1843 | | |
1844 | 1844 | | |
1845 | | - | |
1846 | | - | |
1847 | | - | |
1848 | 1845 | | |
1849 | 1846 | | |
1850 | 1847 | | |
| |||
1853 | 1850 | | |
1854 | 1851 | | |
1855 | 1852 | | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
1862 | | - | |
1863 | | - | |
| 1853 | + | |
1864 | 1854 | | |
1865 | 1855 | | |
1866 | 1856 | | |
| |||
0 commit comments