Обсуждение: pgsql: Change text search parsing rules for hyphenated words so that

Поиск
Список
Период
Сортировка

pgsql: Change text search parsing rules for hyphenated words so that

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/tsearch:
        wparser_def.c (r1.6 -> r1.7)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/wparser_def.c?r1=1.6&r2=1.7)
    pgsql/src/test/regress/expected:
        tsearch.out (r1.7 -> r1.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/tsearch.out?r1=1.7&r2=1.8)