summaryrefslogtreecommitdiff
path: root/src/backend/snowball/dict_snowball.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/snowball/dict_snowball.c')
-rw-r--r--src/backend/snowball/dict_snowball.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/snowball/dict_snowball.c b/src/backend/snowball/dict_snowball.c
index 328ef5a0efe..38742346345 100644
--- a/src/backend/snowball/dict_snowball.c
+++ b/src/backend/snowball/dict_snowball.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/snowball/dict_snowball.c,v 1.6 2008/01/01 19:45:51 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/snowball/dict_snowball.c,v 1.7 2008/11/10 15:18:40 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -262,9 +262,6 @@ dsnowball_lexize(PG_FUNCTION_ARGS)
strlen(txt),
GetDatabaseEncoding(),
PG_UTF8);
- if (recoded == NULL)
- elog(ERROR, "encoding conversion failed");
-
if (recoded != txt)
{
pfree(txt);
@@ -294,9 +291,6 @@ dsnowball_lexize(PG_FUNCTION_ARGS)
strlen(txt),
PG_UTF8,
GetDatabaseEncoding());
- if (recoded == NULL)
- elog(ERROR, "encoding conversion failed");
-
if (recoded != txt)
{
pfree(txt);