pgsql: Improve support of Hunspell

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve support of Hunspell
Date: 2016-03-17 14:43:38
Message-ID: E1agZ9G-0004fK-Dl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve support of Hunspell

- allow to use non-ascii characters as affix flag. Non-numeric affix flags now
are stored as string instead of numeric value of character.
- allow to use 0 as affix flag in numeric encoded affixes

That adds support for arabian, hungarian, turkish and
brazilian portuguese languages.

Author: Artur Zakirov with heavy editorization by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f4ceed6ceba31a72ed7a726fef05d211641f283c

Modified Files
--------------
src/backend/tsearch/spell.c | 431 +++++++++++++++++++++++---------------
src/include/tsearch/dicts/spell.h | 44 +++-
2 files changed, 302 insertions(+), 173 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-17 17:11:52 Re: pgsql: GUC variable pg_trgm.similarity_threshold insead of set_limit()
Previous Message Robert Haas 2016-03-17 11:27:05 pgsql: Fix typos.