]> granicus.if.org Git - postgresql/commit
Reject use of ucol_strcollUTF8() before ICU 53
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 10 Aug 2017 00:34:51 +0000 (20:34 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 11 Aug 2017 02:14:00 +0000 (22:14 -0400)
commitd6391b03b3025372620925e5746e65c288a1e371
treeee2b9a7402b148127194b70c6b6c4766e7c17bd7
parentb83e54564ad0733f5382b20c04695ee9fb4cf451
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.org
configure
configure.in
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/include/utils/pg_locale.h