Fix crash of to_tsvector() function on huge input: compareWORD()
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 26 Sep 2007 10:44:54 +0000 (10:44 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 26 Sep 2007 10:44:54 +0000 (10:44 +0000)
commit59cc016f5d4d7c38ff28c68a799905ad398f7ae5
tree493a3907ac1e24b1b083d88c75ff1c2f478e5361
parentf55dbc20fea4f07fb0a78c0f791fa07118e25f95
Fix crash of to_tsvector() function on huge input: compareWORD()
function didn't return correct result for word position greate than
limit.

Per report from Stuart Bishop <stuart@stuartbishop.net>
src/backend/tsearch/to_tsany.c