Skip site navigation (1) Skip section navigation (2)

pgsql: Cleanup for some problems in tsearch patch: - ispell

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cleanup for some problems in tsearch patch: - ispell
Date: 2007-08-25 00:03:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Cleanup for some problems in tsearch patch:
- ispell initialization crashed on empty dictionary file
- ispell initialization crashed on affix file with prefixes but no suffixes
- stop words file was run through pg_verify_mbstr, with database
  encoding, but it's supposed to be UTF-8; similar bug for synonym files
- bunch of comments added, typos fixed, and other cleanup

Introduced consistent encoding checking/conversion of data read from tsearch
configuration files, by doing this in a single t_readline() subroutine
(replacing direct usages of fgets).  Cleaned up API for readstopwords too.

Heikki Linnakangas

Modified Files:
        dict_snowball.c (r1.2 -> r1.3)
        dict_ispell.c (r1.2 -> r1.3)
        dict_simple.c (r1.2 -> r1.3)
        dict_synonym.c (r1.2 -> r1.3)
        dict_thesaurus.c (r1.2 -> r1.3)
        spell.c (r1.1 -> r1.2)
        ts_locale.c (r1.1 -> r1.2)
        ts_parse.c (r1.1 -> r1.2)
        ts_utils.c (r1.2 -> r1.3)
        wparser.c (r1.2 -> r1.3)
        spell.h (r1.1 -> r1.2)
        ts_locale.h (r1.1 -> r1.2)
        ts_public.h (r1.2 -> r1.3)
        ts_utils.h (r1.1 -> r1.2)

pgsql-committers by date

Next:From: Tom LaneDate: 2007-08-25 01:06:25
Subject: pgsql: Rename built-in Snowball stemmer dictionaries to be english_stem,
Previous:From: User AndrewdDate: 2007-08-24 21:36:10
Subject: pgbuildfarm - client-code: improve defaults and bring up to date

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group