Re: BUG #8970: ts_parse incorrectly split numbers in digit token
| От | Alvaro Herrera |
|---|---|
| Тема | Re: BUG #8970: ts_parse incorrectly split numbers in digit token |
| Дата | |
| Msg-id | 20140126022535.GG10723@eldon.alvh.no-ip.org обсуждение исходный текст |
| Ответ на | BUG #8970: ts_parse incorrectly split numbers in digit token (marco.atzeri@gmail.com) |
| Ответы |
Re: BUG #8970: ts_parse incorrectly split numbers in digit
token
|
| Список | 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 по дате отправления: