Gothic moth fails on Tsearch2 contrib module check (PG8.2)
Gothic moth fails on Tsearch2 contrib module check (PG8.2)
От:
Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Дата:
You can see strange error on gothic moth (Solaris Nevada, SunStudio 12, Sparc): http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=gothic_moth&dt=2009-09-08%2019:06:01 ================= pgsql.19404/contrib/tsearch2/regression.diffs =================== *** ./expected/tsearch2.out Tue Sep 8 21:08:08 2009 --- ./results/tsearch2.out Tue Sep 8 21:38:03 2009 *************** *** 2453,2459 **** Sea view wow foo bar qq YES ! ff-bg --- 2453,2459 ---- Sea view wow foo bar qq YES ! ff-bgff-bg ====================================================================== ff-bg is doubled in the output and space is missing. It smells like compiler bug. I will look closer on it next week, but can somebody point me place in the code where I shall start? Thanks Zdenek
Re: Gothic moth fails on Tsearch2 contrib module check (PG8.2)
От:
Teodor Sigaev <teodor@sigaev.ru>
Дата:
> ff-bg is doubled in the output and space is missing. It smells like > compiler bug. I will look closer on it next week, but can somebody point > me place in the code where I shall start? Play around HLIDSKIP macros. Parser returns hyphen word with several lexemes, in example above: 'ff-bg', 'ff', '-', 'bg'. Headline generator knows about that and it should ignore full hyphen word and show it part by part. It seems to me, somehow it doesn't ignore full hyphen word - and HLIDSKIP defines types of lexemes which should be skipped. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/