Re: BUG #8970: ts_parse incorrectly split numbers in digit token

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marco Atzeri <marco(dot)atzeri(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token
Date: 2014-02-01 22:27:11
Message-ID: 15800.1391293631@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Marco Atzeri <marco(dot)atzeri(at)gmail(dot)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

Attachment Content-Type Size
fix-wchar_t-width-assumption.patch text/x-diff 2.6 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Marco Atzeri 2014-02-01 22:54:34 Re: BUG #8970: ts_parse incorrectly split numbers in digit token
Previous Message Marco Atzeri 2014-02-01 20:16:39 Re: BUG #8970: ts_parse incorrectly split numbers in digit token