forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4d02eb0
committed
Fix collation exposed for scalar function in FROM.
One code path in addRangeTableEntryForFunction() neglected to assigna collation to the tupdesc entry it constructs (which is a bit oddconsidering the other path did do so). This didn't matter before commit5815696, because nothing would look at the type data in this tupdesc;but now it does.While at it, make sure we assign the correct typmod as well. Mostfunction expressions don't have a determinate typmod, but some do.Per buildfarm, which showed failures in non-C collations, a caseI'd not thought to test for this patch :-(1 parent5815696 commit4d02eb0
1 file changed
+7
-1
lines changedLines changed: 7 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 | + | |
1786 | 1789 |
| |
1787 | 1790 |
| |
1788 | 1791 |
| |
| |||
1882 | 1885 |
| |
1883 | 1886 |
| |
1884 | 1887 |
| |
| 1888 | + | |
1885 | 1889 |
| |
1886 | 1890 |
| |
1887 | 1891 |
| |
1888 | 1892 |
| |
1889 | 1893 |
| |
1890 | 1894 |
| |
| 1895 | + | |
| 1896 | + | |
1891 | 1897 |
| |
1892 | 1898 |
| |
1893 | 1899 |
| |
|
0 commit comments
Comments
(0)