codekingpro/portable-devtools
114k
1/* contrib/dict_int/dict_int--1.0.sql */2 3-- complain if script is sourced in psql, rather than via CREATE EXTENSION4\echo Use "CREATE EXTENSION dict_int" to load this file. \quit5 6CREATE FUNCTION dintdict_init(internal)7 RETURNS internal8 AS 'MODULE_PATHNAME'9 LANGUAGE C STRICT;10 11CREATE FUNCTION dintdict_lexize(internal, internal, internal, internal)12 RETURNS internal13 AS 'MODULE_PATHNAME'14 LANGUAGE C STRICT;15 16CREATE TEXT SEARCH TEMPLATE intdict_template (17 LEXIZE = dintdict_lexize,18 INIT = dintdict_init19);20 21CREATE TEXT SEARCH DICTIONARY intdict (22 TEMPLATE = intdict_template23);24 25COMMENT ON TEXT SEARCH DICTIONARY intdict IS 'dictionary for integers';26 