Re: BUG #8970: ts_parse incorrectly split numbers in digit token - Mailing list pgsql-bugs

From Marco Atzeri
Subject Re: BUG #8970: ts_parse incorrectly split numbers in digit token
Date
Msg-id 52ED7B2A.4010608@gmail.com
Whole thread Raw
In response to Re: BUG #8970: ts_parse incorrectly split numbers in digit token  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #8970: ts_parse incorrectly split numbers in digit token
List pgsql-bugs
On 01/02/2014 23:27, Tom Lane wrote:
> Marco Atzeri <marco.atzeri@gmail.com> writes:
>> Eventually it was assumed that size of a wide char is always 32 bit ?
>
> Hm.  It looks like there's an entirely unnecessary assumption that wchar_t
> and wint_t are the same width.  Does the attached patch make things better
> for you?
>
>             regards, tom lane
>

tested on 9.3.2 with LANG=en_US.UTF-8

      tsearch                  ... ok


Thanks
Marco

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token
Next
From: Tom Lane
Date:
Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token