Re: tsearch2 regression test failures - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: tsearch2 regression test failures
Date
Msg-id 20070326111642.D5FACDCC740@svr2.hagander.net
Whole thread Raw
In response to Re: tsearch2 regression test failures  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
> > Yup, that solved the problem, thanks.> I'll commit extended  patch - there is one more place with the same bug.

Ok, thanks.
> Wouldn't it be more efficiently written to walk the string backwards until
> > !isspace instead? Not sure that it matters at all, but then you'll
> > normallyi never step over more than two bytes...
> It doesn't significant matter - file reads once per backend lifetime.
> 

ok.

/Magnus



pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: tsearch2 regression test failures
Next
From: "Pavel Stehule"
Date:
Subject: Proposal: integration plpgpsm into core PostgreSQL