1 /* contrib/unaccent/unaccent--1.1.sql */
3 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
4 \echo Use "CREATE EXTENSION unaccent" to load this file. \quit
6 CREATE FUNCTION unaccent(regdictionary, text)
8 AS 'MODULE_PATHNAME', 'unaccent_dict'
9 LANGUAGE C STABLE STRICT PARALLEL SAFE;
11 CREATE FUNCTION unaccent(text)
13 AS 'MODULE_PATHNAME', 'unaccent_dict'
14 LANGUAGE C STABLE STRICT PARALLEL SAFE;
16 CREATE FUNCTION unaccent_init(internal)
18 AS 'MODULE_PATHNAME', 'unaccent_init'
19 LANGUAGE C PARALLEL SAFE;
21 CREATE FUNCTION unaccent_lexize(internal,internal,internal,internal)
23 AS 'MODULE_PATHNAME', 'unaccent_lexize'
24 LANGUAGE C PARALLEL SAFE;
26 CREATE TEXT SEARCH TEMPLATE unaccent (
28 LEXIZE = unaccent_lexize
31 CREATE TEXT SEARCH DICTIONARY unaccent (