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

From Alvaro Herrera
Subject Re: BUG #8970: ts_parse incorrectly split numbers in digit token
Date
Msg-id 20140126022535.GG10723@eldon.alvh.no-ip.org
Whole thread Raw
In response to BUG #8970: ts_parse incorrectly split numbers in digit token  (marco.atzeri@gmail.com)
Responses Re: BUG #8970: ts_parse incorrectly split numbers in digit token
List pgsql-bugs
marco.atzeri@gmail.com escribió:

>  SELECT * FROM ts_parse('default', '345 qwe@efd.r '' http://www.com/
> http://aew.werc.ewr/?ad=qwe&dw 1aew.werc.ewr/?ad=qwe&dw 2aew.werc.ewr
> http://3aew.werc.ewr/?ad=qwe&dw http://4aew.werc.ewr
> http://5aew.werc.ewr:8100/?  ad=qwe&dw 6aew.werc.ewr:8100/?ad=qwe&dw

To trace this, I would look at src/backend/tsearch/wparser_def.c;
probably try compiling that file with WPARSER_TRACE defined, and compare
the output of ts_parse() in something simple such as '345' in a working
port with the failing one.  That might give you clues as to what is
causing the failure.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #8230: Time interval size overflow
Next
From: Marco Atzeri
Date:
Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token