forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3a54eb1
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 parentf63a5ea commit3a54eb1
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1584 | 1584 |
| |
1585 | 1585 |
| |
1586 | 1586 |
| |
| 1587 | + | |
1587 | 1588 |
| |
1588 | 1589 |
| |
1589 | 1590 |
| |
| |||
1707 | 1708 |
| |
1708 | 1709 |
| |
1709 | 1710 |
| |
| 1711 | + | |
1710 | 1712 |
| |
1711 | 1713 |
| |
1712 | 1714 |
| |
| |||
1831 | 1833 |
| |
1832 | 1834 |
| |
1833 | 1835 |
| |
| 1836 | + | |
1834 | 1837 |
| |
1835 | 1838 |
| |
1836 | 1839 |
| |
|
0 commit comments
Comments
(0)