forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit83f1793
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 parent8b1ec7d commit83f1793
1 file changed
+32
-3
lines changedLines changed: 32 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1841 | 1841 |
| |
1842 | 1842 |
| |
1843 | 1843 |
| |
1844 |
| - | |
| 1844 | + | |
| 1845 | + | |
1845 | 1846 |
| |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
1846 | 1854 |
| |
1847 | 1855 |
| |
1848 | 1856 |
| |
| |||
1922 | 1930 |
| |
1923 | 1931 |
| |
1924 | 1932 |
| |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
1925 | 1942 |
| |
1926 | 1943 |
| |
1927 | 1944 |
| |
| |||
2004 | 2021 |
| |
2005 | 2022 |
| |
2006 | 2023 |
| |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
2007 | 2038 |
| |
2008 | 2039 |
| |
2009 | 2040 |
| |
2010 |
| - | |
2011 |
| - | |
2012 | 2041 |
| |
2013 | 2042 |
| |
2014 | 2043 |
| |
|
0 commit comments
Comments
(0)