2003-07-21 18:27:44 +08:00
|
|
|
SET search_path = public;
|
|
|
|
BEGIN;
|
|
|
|
|
2005-05-04 00:51:00 +08:00
|
|
|
HASINIT create function dinit_CFG_MODNAME(internal)
|
2003-07-21 18:27:44 +08:00
|
|
|
HASINIT returns internal
|
|
|
|
HASINIT as 'MODULE_PATHNAME'
|
2006-02-28 00:09:50 +08:00
|
|
|
HASINIT language C;
|
2003-07-21 18:27:44 +08:00
|
|
|
|
|
|
|
NOSNOWBALL create function dlexize_CFG_MODNAME(internal,internal,int4)
|
|
|
|
NOSNOWBALL returns internal
|
|
|
|
NOSNOWBALL as 'MODULE_PATHNAME'
|
2006-02-28 00:09:50 +08:00
|
|
|
NOSNOWBALL language C
|
|
|
|
NOSNOWBALL returns null on null input;
|
2003-07-21 18:27:44 +08:00
|
|
|
|
|
|
|
insert into pg_ts_dict select
|
|
|
|
'CFG_MODNAME',
|
|
|
|
HASINIT (select oid from pg_proc where proname='dinit_CFG_MODNAME'),
|
|
|
|
NOINIT null,
|
|
|
|
null,
|
|
|
|
ISSNOWBALL (select oid from pg_proc where proname='snb_lexize'),
|
|
|
|
NOSNOWBALL (select oid from pg_proc where proname='dlexize_CFG_MODNAME'),
|
|
|
|
CFG_COMMENT
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
END;
|