Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1abuPa-0006ma-VV for pgsql-committers@arkaria.postgresql.org; Fri, 04 Mar 2016 18:25:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1abuPa-00053a-AR for pgsql-committers@arkaria.postgresql.org; Fri, 04 Mar 2016 18:25:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1abuPN-0004YX-LE for pgsql-committers@postgresql.org; Fri, 04 Mar 2016 18:25:01 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1abuPK-0008Ga-M1 for pgsql-committers@postgresql.org; Fri, 04 Mar 2016 18:25:01 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 6FC7521C6936; Fri, 4 Mar 2016 21:24:58 +0300 (MSK) Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hq4x9SMnAfOO; Fri, 4 Mar 2016 21:24:56 +0300 (MSK) Received: from [192.168.27.188] (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id D7EBA21C6921; Fri, 4 Mar 2016 21:24:56 +0300 (MSK) Subject: Re: pgsql: Improve support of Hunspell in ispell dictionary. To: Teodor Sigaev , pgsql-committers@postgresql.org References: From: Artur Zakirov Message-ID: <56D9D2F9.9090806@postgrespro.ru> Date: Fri, 4 Mar 2016 21:24:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------040701080608050408050004" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org This is a multi-part message in MIME format. --------------040701080608050408050004 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thank you for commit. This commit did not pass regression tests in Windows Server in pgbuildfarm. Attached patch fix it. On 04.03.2016 20:08, Teodor Sigaev wrote: > Improve support of Hunspell in ispell dictionary. > > Now it's possible to load recent version of Hunspell for several languages. > To handle these dictionaries Hunspell patch adds support for: > * FLAG long - sets the double extended ASCII character flag type > * FLAG num - sets the decimal number flag type (from 1 to 65535) > * AF parameter - alias for flag's set > > Also it moves test dictionaries into separate directory. > > Author: Artur Zakirov with editorization by me > > Branch > ------ > master > > Details > ------- > http://git.postgresql.org/pg/commitdiff/d78a7d9c7fa3e9cd494b906f065fe7b7fe9fb9a5 > > Modified Files > -------------- > doc/src/sgml/textsearch.sgml | 148 ++++- > src/backend/tsearch/Makefile | 7 +- > src/backend/tsearch/dicts/hunspell_sample.affix | 24 + > .../tsearch/dicts/hunspell_sample_long.affix | 35 ++ > .../tsearch/dicts/hunspell_sample_long.dict | 8 + > .../tsearch/dicts/hunspell_sample_num.affix | 26 + > src/backend/tsearch/dicts/hunspell_sample_num.dict | 8 + > src/backend/tsearch/dicts/ispell_sample.affix | 26 + > src/backend/tsearch/dicts/ispell_sample.dict | 8 + > src/backend/tsearch/dicts/synonym_sample.syn | 5 + > src/backend/tsearch/dicts/thesaurus_sample.ths | 17 + > src/backend/tsearch/hunspell_sample.affix | 24 - > src/backend/tsearch/ispell_sample.affix | 26 - > src/backend/tsearch/ispell_sample.dict | 8 - > src/backend/tsearch/spell.c | 611 ++++++++++++++++++--- > src/backend/tsearch/synonym_sample.syn | 5 - > src/backend/tsearch/thesaurus_sample.ths | 17 - > src/include/tsearch/dicts/spell.h | 51 +- > src/test/regress/expected/tsdicts.out | 234 ++++++++ > src/test/regress/sql/tsdicts.sql | 64 +++ > 20 files changed, 1183 insertions(+), 169 deletions(-) > > -- Artur Zakirov Postgres Professional: http://www.postgrespro.com Russian Postgres Company --------------040701080608050408050004 Content-Type: text/x-patch; name="tsearch-dicts-for-windows.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tsearch-dicts-for-windows.patch" *** a/src/tools/msvc/Install.pm --- b/src/tools/msvc/Install.pm *************** *** 143,149 **** sub Install $target . '/share/tsearch_data/'); CopySetOfFiles( 'Dictionaries sample files', ! [ glob("src\\backend\\tsearch\\*_sample.*") ], $target . '/share/tsearch_data/'); my $pl_extension_files = []; --- 143,149 ---- $target . '/share/tsearch_data/'); CopySetOfFiles( 'Dictionaries sample files', ! [ glob("src\\backend\\tsearch\\dicts\\*_sample*") ], $target . '/share/tsearch_data/'); my $pl_extension_files = []; --------------040701080608050408050004 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers --------------040701080608050408050004--