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

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: 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-01-26 02:25:35
Message-ID: 20140126022535.GG10723@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

marco(dot)atzeri(at)gmail(dot)com escribió:

> SELECT * FROM ts_parse('default', '345 qwe(at)efd(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Marco Atzeri 2014-01-26 08:10:27 Re: BUG #8970: ts_parse incorrectly split numbers in digit token
Previous Message Bruce Momjian 2014-01-25 21:30:37 Re: BUG #8230: Time interval size overflow