mirror of
https://github.com/postgres/postgres.git
synced 2026-01-05 23:38:41 +03:00
1 Update Snowball sources
2 Makefile fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user