Commit d6391b0
committed
Reject use of ucol_strcollUTF8() before ICU 53
Various bugs can cause crashes, so don't use that function before ICU
53. It will fall back to the code path used for other encodings.
Since we now tie the function availability to an ICU version, we don't
need the configure test anymore. That also resolves the issue that the
test result was previously hardcoded for Windows.
researched by Daniel Verite <daniel@manitou-mail.org>, Peter Geoghegan
<pg@bowt.ie>, Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/f1438ec6-22aa-4029-9a3b-26f79d330e72%40manitou-mail.org1 parent b83e545 commit d6391b0
File tree
5 files changed
+13
-60
lines changed- src/include
- utils
5 files changed
+13
-60
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13923 | 13923 | | |
13924 | 13924 | | |
13925 | 13925 | | |
13926 | | - | |
13927 | | - | |
13928 | | - | |
13929 | | - | |
13930 | | - | |
13931 | | - | |
13932 | | - | |
13933 | | - | |
13934 | | - | |
13935 | | - | |
13936 | | - | |
13937 | | - | |
13938 | | - | |
13939 | | - | |
13940 | | - | |
13941 | | - | |
13942 | | - | |
13943 | | - | |
13944 | | - | |
13945 | | - | |
13946 | | - | |
13947 | | - | |
13948 | | - | |
13949 | | - | |
13950 | | - | |
13951 | | - | |
13952 | | - | |
13953 | | - | |
13954 | | - | |
13955 | | - | |
13956 | | - | |
13957 | | - | |
13958 | | - | |
13959 | | - | |
13960 | | - | |
13961 | | - | |
13962 | | - | |
13963 | | - | |
13964 | 13926 | | |
13965 | 13927 | | |
13966 | 13928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
1680 | | - | |
1681 | 1665 | | |
1682 | 1666 | | |
1683 | 1667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | 609 | | |
613 | 610 | | |
614 | 611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 460 | | |
464 | 461 | | |
465 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
24 | 37 | | |
25 | 38 | | |
26 | 39 | | |
| |||
0 commit comments