forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit331f8b8
committed
Check maximum number of columns in function RTEs, too.
I thought commitfd96d14 had plugged all the holes of this sort,but no, function RTEs could produce oversize tuples too, eithervia long coldeflists or just from multiple functions in one RTE.(I'm pretty sure the other variants of base RTEs aren't a problem,because they ultimately refer to either a table or a sub-SELECT,whose widths are enforced elsewhere. But we explicitly allow joinRTEs to be overwidth, as long as you don't try to form theirtuple result.)Per further discussion of bug #17561. As before, patch all branches.Discussion:https://postgr.es/m/17561-80350151b9ad2ad4@postgresql.org1 parentaadaaef commit331f8b8
1 file changed
+30
-1
lines changedLines changed: 30 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1781 | 1781 |
| |
1782 | 1782 |
| |
1783 | 1783 |
| |
1784 |
| - | |
| 1784 | + | |
| 1785 | + | |
1785 | 1786 |
| |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
1786 | 1794 |
| |
1787 | 1795 |
| |
1788 | 1796 |
| |
| |||
1862 | 1870 |
| |
1863 | 1871 |
| |
1864 | 1872 |
| |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
1865 | 1882 |
| |
1866 | 1883 |
| |
1867 | 1884 |
| |
| |||
1946 | 1963 |
| |
1947 | 1964 |
| |
1948 | 1965 |
| |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
1949 | 1978 |
| |
1950 | 1979 |
| |
1951 | 1980 |
| |
|
0 commit comments
Comments
(0)