From: | "gildas prime" <g(dot)prime(at)aeschemunex(dot)com> |
---|---|
To: | "Denis Monsieur" <dmonsieur(at)gmail(dot)com>, <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #4562: ts_headline() adds space when parsing url |
Date: | 2008-12-04 08:33:18 |
Message-ID: | 043E5400842F594D89696F862B48DEA14428FD@hades.aes-local.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Same thing on 8.3.5 Win32
ester=# SELECT ts_headline('http://some.url/path', to_tsquery('sometext'));
ts_headline
-----------------------
http:// some.url/path
(1 row)
ester=# SELECT ts_headline('http://some.url', to_tsquery('sometext'));
ts_headline
-----------------
http://some.url
(1 row)
ester=#
Gildas
-----Message d'origine-----
De : pgsql-bugs-owner(at)postgresql(dot)org [mailto:pgsql-bugs-owner(at)postgresql(dot)org] De la part de Denis Monsieur
Envoyé : jeudi 4 décembre 2008 00:33
À : pgsql-bugs(at)postgresql(dot)org
Objet : [BUGS] BUG #4562: ts_headline() adds space when parsing url
The following bug has been logged online:
Bug reference: 4562
Logged by: Denis Monsieur
Email address: dmonsieur(at)gmail(dot)com
PostgreSQL version: 8.3.4
Operating system: Debian etch
Description: ts_headline() adds space when parsing url
Details:
My system is 8.3.4, but people in #postgresql with 8.3.5 have confirmed the
issue.
The problem is a space being added to text in the form of
http://some.url/path
Compare the output:
shs=# SELECT ts_headline('http://some.url', to_tsquery('sometext'));
ts_headline
-----------------
http://some.url
(1 row)
shs=# SELECT ts_headline('http://some.url/path', to_tsquery('sometext'));
ts_headline
-----------------------
http:// some.url/path
(1 row)
--
Sent via pgsql-bugs mailing list (pgsql-bugs(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
From | Date | Subject | |
---|---|---|---|
Next Message | wstrzalka | 2008-12-04 11:03:16 | Windows: pg_dump doesn't recognize -n option |
Previous Message | Denis Monsieur | 2008-12-03 23:33:18 | BUG #4562: ts_headline() adds space when parsing url |