PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "commands/defrem.h"
#include "tsearch/dicts/spell.h"
#include "tsearch/ts_locale.h"
#include "tsearch/ts_public.h"
#include "utils/fmgrprotos.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 30 of file dict_ispell.c.
References defGetString(), DefElem::defname, ereport, errcode(), errmsg(), ERROR, get_tsearch_config_filename(), lfirst, lowerstr(), NIFinishBuild(), NIImportAffixes(), NIImportDictionary(), NISortAffixes(), NISortDictionary(), NIStartBuild(), DictISpell::obj, palloc0(), PG_GETARG_POINTER, PG_RETURN_POINTER, readstoplist(), and DictISpell::stoplist.
Datum dispell_lexize | ( | PG_FUNCTION_ARGS | ) |
Definition at line 111 of file dict_ispell.c.
References len, TSLexeme::lexeme, lowerstr_with_len(), NINormalizeWord(), DictISpell::obj, pfree(), PG_GETARG_INT32, PG_GETARG_POINTER, PG_RETURN_POINTER, res, searchstoplist(), and DictISpell::stoplist.