Change text search parsing rules for hyphenated words so that digit strings

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 73e6f9d3b61995525785b2f4490b465fe860196b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-10-27T19:03:45Z
Releases: 8.3.0
Change text search parsing rules for hyphenated words so that digit strings
containing decimal points aren't considered part of a hyphenated word.
Sync the hyphenated-word lookahead states with the subsequent part-by-part
reparsing states so that we don't get different answers about how much text
is part of the hyphenated word.  Per my gripe of a few days ago.

Files

PathChange+/−
src/backend/tsearch/wparser_def.c modified +13 −70
src/test/regress/expected/tsearch.out modified +8 −12