diff -ruN postgresql-7.4.5-old/contrib/tsearch2/gendict/sql.IN postgresql-7.4.5/contrib/tsearch2/gendict/sql.IN --- postgresql-7.4.5-old/contrib/tsearch2/gendict/sql.IN 2003-07-21 12:27:00.000000000 +0200 +++ postgresql-7.4.5/contrib/tsearch2/gendict/sql.IN 2005-05-04 12:58:47.886888832 +0200 @@ -1,7 +1,7 @@ SET search_path = public; BEGIN; -HASINIT create function dinit_CFG_MODNAME(text) +HASINIT create function dinit_CFG_MODNAME(internal) HASINIT returns internal HASINIT as 'MODULE_PATHNAME' HASINIT language 'C'; diff -ruN postgresql-7.4.5-old/contrib/tsearch2/tsearch.sql.in postgresql-7.4.5/contrib/tsearch2/tsearch.sql.in --- postgresql-7.4.5-old/contrib/tsearch2/tsearch.sql.in 2004-02-21 04:48:55.000000000 +0100 +++ postgresql-7.4.5/contrib/tsearch2/tsearch.sql.in 2005-05-04 12:58:47.888888528 +0200 @@ -44,7 +44,7 @@ with (isstrict); --built-in dictionaries -CREATE FUNCTION dex_init(text) +CREATE FUNCTION dex_init(internal) returns internal as 'MODULE_PATHNAME' language 'C'; @@ -63,7 +63,7 @@ 'Simple example of dictionary.' ; -CREATE FUNCTION snb_en_init(text) +CREATE FUNCTION snb_en_init(internal) returns internal as 'MODULE_PATHNAME' language 'C'; @@ -82,7 +82,7 @@ 'English Stemmer. Snowball.' ; -CREATE FUNCTION snb_ru_init(text) +CREATE FUNCTION snb_ru_init(internal) returns internal as 'MODULE_PATHNAME' language 'C'; @@ -95,7 +95,7 @@ 'Russian Stemmer. Snowball.' ; -CREATE FUNCTION spell_init(text) +CREATE FUNCTION spell_init(internal) returns internal as 'MODULE_PATHNAME' language 'C'; @@ -114,7 +114,7 @@ 'ISpell interface. Must have .dict and .aff files' ; -CREATE FUNCTION syn_init(text) +CREATE FUNCTION syn_init(internal) returns internal as 'MODULE_PATHNAME' language 'C'; diff -ruN postgresql-7.4.5-old/contrib/tsearch2/untsearch.sql.in postgresql-7.4.5/contrib/tsearch2/untsearch.sql.in --- postgresql-7.4.5-old/contrib/tsearch2/untsearch.sql.in 2003-08-06 11:19:20.000000000 +0200 +++ postgresql-7.4.5/contrib/tsearch2/untsearch.sql.in 2005-05-04 12:58:47.891888072 +0200 @@ -34,14 +34,14 @@ DROP FUNCTION lexize(text); DROP FUNCTION set_curdict(int); DROP FUNCTION set_curdict(text); -DROP FUNCTION dex_init(text); +DROP FUNCTION dex_init(internal); DROP FUNCTION dex_lexize(internal,internal,int4); -DROP FUNCTION snb_en_init(text); +DROP FUNCTION snb_en_init(internal); DROP FUNCTION snb_lexize(internal,internal,int4); -DROP FUNCTION snb_ru_init(text); -DROP FUNCTION spell_init(text); +DROP FUNCTION snb_ru_init(internal); +DROP FUNCTION spell_init(internal); DROP FUNCTION spell_lexize(internal,internal,int4); -DROP FUNCTION syn_init(text); +DROP FUNCTION syn_init(internal); DROP FUNCTION syn_lexize(internal,internal,int4); DROP FUNCTION set_curprs(int); DROP FUNCTION set_curprs(text);