Add snb_ru_init(internal) to list of stub functions in tsearch2
compatibility module. Needed to support loading of 8.1-era tsearch2 configuration data.
This commit is contained in:
parent
224f91f66d
commit
f00d75b8d7
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/contrib/tsearch2/tsearch2.c,v 1.3 2007/11/15 21:14:31 momjian Exp $
|
* $PostgreSQL: pgsql/contrib/tsearch2/tsearch2.c,v 1.4 2007/11/16 00:34:54 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -122,6 +122,7 @@ UNSUPPORTED_FUNCTION(tsa_snb_en_init);
|
|||||||
UNSUPPORTED_FUNCTION(tsa_snb_lexize);
|
UNSUPPORTED_FUNCTION(tsa_snb_lexize);
|
||||||
UNSUPPORTED_FUNCTION(tsa_snb_ru_init_koi8);
|
UNSUPPORTED_FUNCTION(tsa_snb_ru_init_koi8);
|
||||||
UNSUPPORTED_FUNCTION(tsa_snb_ru_init_utf8);
|
UNSUPPORTED_FUNCTION(tsa_snb_ru_init_utf8);
|
||||||
|
UNSUPPORTED_FUNCTION(tsa_snb_ru_init);
|
||||||
|
|
||||||
UNSUPPORTED_FUNCTION(tsa_spell_init);
|
UNSUPPORTED_FUNCTION(tsa_spell_init);
|
||||||
UNSUPPORTED_FUNCTION(tsa_spell_lexize);
|
UNSUPPORTED_FUNCTION(tsa_spell_lexize);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $PostgreSQL: pgsql/contrib/tsearch2/tsearch2.sql.in,v 1.2 2007/11/13 22:14:50 tgl Exp $ */
|
/* $PostgreSQL: pgsql/contrib/tsearch2/tsearch2.sql.in,v 1.3 2007/11/16 00:34:54 tgl Exp $ */
|
||||||
|
|
||||||
-- Adjust this setting to control where the objects get created.
|
-- Adjust this setting to control where the objects get created.
|
||||||
SET search_path = public;
|
SET search_path = public;
|
||||||
@ -74,6 +74,11 @@ CREATE FUNCTION snb_ru_init_utf8(internal)
|
|||||||
as 'MODULE_PATHNAME', 'tsa_snb_ru_init_utf8'
|
as 'MODULE_PATHNAME', 'tsa_snb_ru_init_utf8'
|
||||||
LANGUAGE C;
|
LANGUAGE C;
|
||||||
|
|
||||||
|
CREATE FUNCTION snb_ru_init(internal)
|
||||||
|
RETURNS internal
|
||||||
|
as 'MODULE_PATHNAME', 'tsa_snb_ru_init'
|
||||||
|
LANGUAGE C;
|
||||||
|
|
||||||
CREATE FUNCTION spell_init(internal)
|
CREATE FUNCTION spell_init(internal)
|
||||||
RETURNS internal
|
RETURNS internal
|
||||||
as 'MODULE_PATHNAME', 'tsa_spell_init'
|
as 'MODULE_PATHNAME', 'tsa_spell_init'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $PostgreSQL: pgsql/contrib/tsearch2/uninstall_tsearch2.sql,v 1.1 2007/11/13 21:02:29 tgl Exp $ */
|
/* $PostgreSQL: pgsql/contrib/tsearch2/uninstall_tsearch2.sql,v 1.2 2007/11/16 00:34:54 tgl Exp $ */
|
||||||
|
|
||||||
-- Adjust this setting to control where the objects get dropped.
|
-- Adjust this setting to control where the objects get dropped.
|
||||||
SET search_path = public, pg_catalog;
|
SET search_path = public, pg_catalog;
|
||||||
@ -34,6 +34,7 @@ DROP FUNCTION snb_en_init(internal);
|
|||||||
DROP FUNCTION snb_lexize(internal,internal,int4);
|
DROP FUNCTION snb_lexize(internal,internal,int4);
|
||||||
DROP FUNCTION snb_ru_init_koi8(internal);
|
DROP FUNCTION snb_ru_init_koi8(internal);
|
||||||
DROP FUNCTION snb_ru_init_utf8(internal);
|
DROP FUNCTION snb_ru_init_utf8(internal);
|
||||||
|
DROP FUNCTION snb_ru_init(internal);
|
||||||
DROP FUNCTION spell_init(internal);
|
DROP FUNCTION spell_init(internal);
|
||||||
DROP FUNCTION spell_lexize(internal,internal,int4);
|
DROP FUNCTION spell_lexize(internal,internal,int4);
|
||||||
DROP FUNCTION syn_init(internal);
|
DROP FUNCTION syn_init(internal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user