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
On Tuesday 18 September 2007 17:15:43 Teodor Sigaev wrote:
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,
On Friday 14 September 2007 20:26:28 Tom Lane wrote:
Andreas Joseph Krogh [EMAIL PROTECTED] writes:
In 8.2 this produces an error:
SELECT headline('default', 'a b c', 'c'::tsquery,
'StartSel=span class=style1, StopSel=/span');
ERROR: syntax error
DETAIL: Syntax error in position 15.
Hi.
In 8.2 this produces an error:
SELECT headline('default', 'a b c', 'c'::tsquery,
'StartSel=span class=style1, StopSel=/span');
ERROR: syntax error
DETAIL: Syntax error in position 15.
while this works:
SELECT headline('default', 'a b c', 'c'::tsquery,
'StartSel=b, StopSel=/b');
headline
Andreas Joseph Krogh [EMAIL PROTECTED] writes:
In 8.2 this produces an error:
SELECT headline('default', 'a b c', 'c'::tsquery,
'StartSel=span class=style1, StopSel=/span');
ERROR: syntax error
DETAIL: Syntax error in position 15.
Sure you don't just need to quote the values?