Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Geoghegan <pg@bowt.ie>,
Daniel Verite <daniel@manitou-mail.org>
Date: 2017-08-10T00:45:53Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- 0001-Fix-order-of-ICU_CFLAGS.patch (text/plain) patch 0001
- 0002-Reject-use-of-ucol_strcollUTF8-before-ICU-53.patch (text/plain) patch 0002
On 8/7/17 14:42, Peter Eisentraut wrote: > On 8/7/17 13:51, Tom Lane wrote: >> At this point I'm thinking that really what we ought to do is deprecate >> using any pre-53 ICU release for Postgres. It is very clear that those >> versions are an entirely different beast from 53-and-up, and that they >> are now abandonware so far as ICU upstream is concerned. > > Maybe a note in the documentation to that effect would be useful. > > I don't think we should prevent the use of older ICU versions in the > code. That would probably annoy people who are forced to develop or > test their applications on older platforms. I propose the attached patches for fixing the crash. This just disables the use of the problematic function for versions before ICU 53. (The 0001 patch is just something I found that was needed while experimenting with different ICU versions. The 0002 patch is the real fix.) -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Reject use of ucol_strcollUTF8() before ICU 53
- d6391b03b302 10.0 landed
-
Rethink behavior of pg_import_system_collations().
- 0b13b2a7712b 10.0 cited
-
Faster expression evaluation and targetlist projection.
- b8d7f053c5c2 10.0 cited