aboutsummaryrefslogtreecommitdiff
path: root/contrib/tsearch2/gendict/sql.IN
blob: ff0d8423999f4810d69816baa9225daee7345fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SET search_path = public;
BEGIN;

HASINIT create function dinit_CFG_MODNAME(text)
HASINIT         returns internal
HASINIT         as 'MODULE_PATHNAME'
HASINIT         language 'C';

NOSNOWBALL create function dlexize_CFG_MODNAME(internal,internal,int4)
NOSNOWBALL        returns internal
NOSNOWBALL        as 'MODULE_PATHNAME'
NOSNOWBALL        language 'C'
NOSNOWBALL        with (isstrict);

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;