1 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
2 \echo Use "CREATE EXTENSION wildspeed" to load this file. \quit
4 -- support functions for gin
5 CREATE OR REPLACE FUNCTION gin_extract_permuted(text, internal)
10 CREATE OR REPLACE FUNCTION wildcmp(text, text)
15 CREATE OR REPLACE FUNCTION wildcmp_prefix(text, text, int2)
20 CREATE OR REPLACE FUNCTION gin_extract_wildcard(text, internal, int2, internal)
25 CREATE OR REPLACE FUNCTION gin_consistent_wildcard(internal, int2, text)
30 CREATE OPERATOR CLASS wildcard_ops
31 FOR TYPE text USING gin
34 FUNCTION 1 wildcmp(text,text),
35 FUNCTION 2 gin_extract_permuted(text, internal),
36 FUNCTION 3 gin_extract_wildcard(text, internal, int2, internal),
37 FUNCTION 4 gin_consistent_wildcard(internal, int2, text),
38 FUNCTION 5 wildcmp_prefix(text,text,int2),
43 CREATE OR REPLACE FUNCTION permute(text)
46 LANGUAGE C STRICT IMMUTABLE;