From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: marco.atzeri@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token
Date: Sat, 25 Jan 2014 23:25:35 -0300
Message-ID: <20140126022535.GG10723@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <20140125065024.26700.13481@wrigleys.postgresql.org>
References: <20140125065024.26700.13481@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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&dwhttp://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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, marco.atzeri@gmail.com
Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token
In-Reply-To: <20140126022535.GG10723@eldon.alvh.no-ip.org>
References: <20140125065024.26700.13481@wrigleys.postgresql.org> <20140126022535.GG10723@eldon.alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox