Skip site navigation (1) Skip section navigation (2)

BUG #4562: ts_headline() adds space when parsing url

From: "Denis Monsieur" <dmonsieur(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4562: ts_headline() adds space when parsing url
Date: 2008-12-03 23:33:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
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

My system is 8.3.4, but people in #postgresql with 8.3.5 have confirmed the

The problem is a space being added to text in the form of
Compare the output:

shs=# SELECT ts_headline('http://some.url', to_tsquery('sometext'));
(1 row)

shs=# SELECT ts_headline('http://some.url/path', to_tsquery('sometext'));
 http:// some.url/path
(1 row)


pgsql-bugs by date

Next:From: gildas primeDate: 2008-12-04 08:33:18
Subject: Re: BUG #4562: ts_headline() adds space when parsing url
Previous:From: Magnus HaganderDate: 2008-12-03 20:05:54
Subject: Re: Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group