Re: ts_parse reports different between MacOS, FreeBSD/Linux

2020-12-22 Thread Tom Lane
"Mark Felder" writes: > We have an application whose test suite fails on MacOS when running the > search tests on unicode characters. Yeah, known problem :-(. The text search parser relies on the C library's locale data to classify characters as being letters, digits, etc. Unfortunately, the UT

ts_parse reports different between MacOS, FreeBSD/Linux

2020-12-22 Thread Mark Felder
Hello, We have an application whose test suite fails on MacOS when running the search tests on unicode characters. I've narrowed it down to the following: macos=# select * from ts_parse('default','天'); tokid | token ---+--- 12 | 天 (1 row) freebsd=# select * from ts_parse('default'