Re: 8.3 version of ts_headline

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: 8.3 version of ts_headline
Date: 2007-09-18 15:15:43
Message-ID: 46EFEB9F.1030309@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-18 15:22:45 Re: invalidly encoded strings
Previous Message Bruce Momjian 2007-09-18 15:05:20 Traveling to Russia