PostgreSQL Source Code git master
|
#include "postgres.h"
#include "catalog/pg_collation_d.h"
#include "commands/defrem.h"
#include "tsearch/dicts/spell.h"
#include "tsearch/ts_public.h"
#include "utils/fmgrprotos.h"
#include "utils/formatting.h"
Go to the source code of this file.
Data Structures | |
struct | DictISpell |
Functions | |
Datum | dispell_init (PG_FUNCTION_ARGS) |
Datum | dispell_lexize (PG_FUNCTION_ARGS) |
Datum dispell_init | ( | PG_FUNCTION_ARGS | ) |
Definition at line 31 of file dict_ispell.c.
References defGetString(), DefElem::defname, ereport, errcode(), errmsg(), ERROR, get_tsearch_config_filename(), lfirst, NIFinishBuild(), NIImportAffixes(), NIImportDictionary(), NISortAffixes(), NISortDictionary(), NIStartBuild(), DictISpell::obj, palloc0(), PG_GETARG_POINTER, PG_RETURN_POINTER, readstoplist(), DictISpell::stoplist, and str_tolower().
Datum dispell_lexize | ( | PG_FUNCTION_ARGS | ) |
Definition at line 112 of file dict_ispell.c.
References len, TSLexeme::lexeme, NINormalizeWord(), DictISpell::obj, pfree(), PG_GETARG_INT32, PG_GETARG_POINTER, PG_RETURN_POINTER, res, searchstoplist(), DictISpell::stoplist, and str_tolower().