Re: [pgsql-www] [BUGS] tsearch2 headline function fails to parse integer arguments

2005-01-13 Thread Dave Page
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lane > Sent: 09 January 2005 21:04 > To: Tom Hebbron > Cc: pgsql-bugs@postgresql.org; [EMAIL PROTECTED] > Subject: Re: [pgsql-www] [BUGS] tsearch2 headline function >

Re: [BUGS] tsearch2 headline function fails to parse integer arguments

2005-01-09 Thread Tom Lane
"Tom Hebbron" <[EMAIL PROTECTED]> writes: > SELECT headline('some text to search',to_tsquery('text'),'StartSel=, > StopSel=, ShortWord=3') > On 8.0beta1 through 8.0rc3 this query fails with > ERROR: invalid input syntax for integer: "3" Thanks for the report. Patch applied. > There also seems

[BUGS] tsearch2 headline function fails to parse integer arguments

2005-01-09 Thread Tom Hebbron
SELECT headline('some text to search',to_tsquery('text'),'StartSel=, StopSel=, ShortWord=3') On 8.0beta1 through 8.0rc3 this query fails with ERROR: invalid input syntax for integer: "3" The same is reported when using any of the argument in the option string that take integers (MinWords and Ma