]> granicus.if.org Git - postgresql/blobdiff - src/backend/tsearch/dict.c
Update copyright for 2016
[postgresql] / src / backend / tsearch / dict.c
index c17194f689ceb03775f13cdcfefd644439ac96bd..fee6320c74209117ef8418e218205a7dcdd3280f 100644 (file)
@@ -3,11 +3,11 @@
  * dict.c
  *             Standard interface to dictionary
  *
- * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/tsearch/dict.c,v 1.4 2008/01/01 19:45:52 momjian Exp $
+ *       src/backend/tsearch/dict.c
  *
  *-------------------------------------------------------------------------
  */
@@ -64,7 +64,7 @@ ts_lexize(PG_FUNCTION_ARGS)
        ptr = res;
        while (ptr->lexeme)
        {
-               da[ptr - res] = DirectFunctionCall1(textin, CStringGetDatum(ptr->lexeme));
+               da[ptr - res] = CStringGetTextDatum(ptr->lexeme);
                ptr++;
        }