1 /* contrib/btree_gin/btree_gin--1.0--1.1.sql */
3 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
4 \echo Use "ALTER EXTENSION btree_gin UPDATE TO '1.1'" to load this file. \quit
6 -- macaddr8 datatype support new in 10.0.
7 CREATE FUNCTION gin_extract_value_macaddr8(macaddr8, internal)
10 LANGUAGE C STRICT IMMUTABLE;
12 CREATE FUNCTION gin_compare_prefix_macaddr8(macaddr8, macaddr8, int2, internal)
15 LANGUAGE C STRICT IMMUTABLE;
17 CREATE FUNCTION gin_extract_query_macaddr8(macaddr8, internal, int2, internal, internal)
20 LANGUAGE C STRICT IMMUTABLE;
22 CREATE OPERATOR CLASS macaddr8_ops
23 DEFAULT FOR TYPE macaddr8 USING gin
30 FUNCTION 1 macaddr8_cmp(macaddr8, macaddr8),
31 FUNCTION 2 gin_extract_value_macaddr8(macaddr8, internal),
32 FUNCTION 3 gin_extract_query_macaddr8(macaddr8, internal, int2, internal, internal),
33 FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
34 FUNCTION 5 gin_compare_prefix_macaddr8(macaddr8, macaddr8, int2, internal),