forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf967a1f
committed
Fix memory leak with lower, upper and initcap with ICU-provided collations
The leak happens in str_tolower, str_toupper and str_initcap, which areused in several places including their equivalent SQL-level functions,and can only be triggered when using an ICU-provided collation whenconverting the input string.b615920 fixed a similar leak. Backpatch down 10 where ICU collationshave been introduced.Author: Konstantin KnizhnikDiscussion:https://postgr.es/m/94c0ad0a-cbc2-e4a3-7829-2bdeaf9146db@postgrespro.ruBackpatch-through: 101 parent5524ef5 commitf967a1f
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1551 | 1551 | | |
1552 | 1552 | | |
1553 | 1553 | | |
| 1554 | + | |
1554 | 1555 | | |
1555 | 1556 | | |
1556 | 1557 | | |
| |||
1673 | 1674 | | |
1674 | 1675 | | |
1675 | 1676 | | |
| 1677 | + | |
1676 | 1678 | | |
1677 | 1679 | | |
1678 | 1680 | | |
| |||
1796 | 1798 | | |
1797 | 1799 | | |
1798 | 1800 | | |
| 1801 | + | |
1799 | 1802 | | |
1800 | 1803 | | |
1801 | 1804 | | |
| |||
0 commit comments
Comments
(0)