Re: 8.3 version of ts_headline - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: 8.3 version of ts_headline
Date
Msg-id 46EFEB9F.1030309@sigaev.ru
Whole thread Raw
In response to Re: 8.3 version of ts_headline  (Andreas Joseph Krogh <andreak@officenet.no>)
Responses Re: 8.3 version of ts_headline
List pgsql-hackers
in 8.2
SELECT headline('default', 'a b c', 'c'::tsquery,
E'StartSel="<span class=\\"style1\\">", StopSel="</span>"');

>>> In 8.2 this produces an error:
>>>
>>> SELECT headline('default', 'a b c', 'c'::tsquery,
>>> 'StartSel=<span class="style1">, StopSel=</span>');
>>> ERROR:  syntax error

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Traveling to Russia
Next
From: Tom Lane
Date:
Subject: Re: invalidly encoded strings