summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/dict_snowball.c
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2005-09-15 11:14:18 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2005-09-15 11:14:18 +0000
commitf82b853b4785d12042ee3a0bedf8503ef98cba16 (patch)
tree86326d70dc71de1bd1623f1a11e5dd9706d018f5 /contrib/tsearch2/dict_snowball.c
parent3b0453b24fcbc81d33c9e59ce369a2ffb2be9d11 (diff)
downloadpostgresql-f82b853b4785d12042ee3a0bedf8503ef98cba16.tar.gz
1 Update Snowball sources
2 Makefile fixes
Diffstat (limited to 'contrib/tsearch2/dict_snowball.c')
-rw-r--r--contrib/tsearch2/dict_snowball.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tsearch2/dict_snowball.c b/contrib/tsearch2/dict_snowball.c
index a43b49c2c5..8bcd3385d8 100644
--- a/contrib/tsearch2/dict_snowball.c
+++ b/contrib/tsearch2/dict_snowball.c
@@ -49,7 +49,7 @@ snb_en_init(PG_FUNCTION_ARGS)
PG_FREE_IF_COPY(in, 0);
}
- d->z = english_create_env();
+ d->z = english_ISO_8859_1_create_env();
if (!d->z)
{
freestoplist(&(d->stoplist));
@@ -57,7 +57,7 @@ snb_en_init(PG_FUNCTION_ARGS)
(errcode(ERRCODE_OUT_OF_MEMORY),
errmsg("out of memory")));
}
- d->stem = english_stem;
+ d->stem = english_ISO_8859_1_stem;
PG_RETURN_POINTER(d);
}
@@ -83,7 +83,7 @@ snb_ru_init(PG_FUNCTION_ARGS)
PG_FREE_IF_COPY(in, 0);
}
- d->z = russian_create_env();
+ d->z = russian_KOI8_R_create_env();
if (!d->z)
{
freestoplist(&(d->stoplist));
@@ -91,7 +91,7 @@ snb_ru_init(PG_FUNCTION_ARGS)
(errcode(ERRCODE_OUT_OF_MEMORY),
errmsg("out of memory")));
}
- d->stem = russian_stem;
+ d->stem = russian_KOI8_R_stem;
PG_RETURN_POINTER(d);
}