1 /* contrib/btree_gist/btree_gist--1.0--1.1.sql */
3 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
4 \echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.1'" to load this file. \quit
6 -- Index-only scan support new in 9.5.
7 CREATE FUNCTION gbt_oid_fetch(internal)
10 LANGUAGE C IMMUTABLE STRICT;
12 CREATE FUNCTION gbt_int2_fetch(internal)
15 LANGUAGE C IMMUTABLE STRICT;
17 CREATE FUNCTION gbt_int4_fetch(internal)
20 LANGUAGE C IMMUTABLE STRICT;
22 CREATE FUNCTION gbt_int8_fetch(internal)
25 LANGUAGE C IMMUTABLE STRICT;
27 CREATE FUNCTION gbt_float4_fetch(internal)
30 LANGUAGE C IMMUTABLE STRICT;
32 CREATE FUNCTION gbt_float8_fetch(internal)
35 LANGUAGE C IMMUTABLE STRICT;
37 CREATE FUNCTION gbt_ts_fetch(internal)
40 LANGUAGE C IMMUTABLE STRICT;
42 CREATE FUNCTION gbt_time_fetch(internal)
45 LANGUAGE C IMMUTABLE STRICT;
47 CREATE FUNCTION gbt_date_fetch(internal)
50 LANGUAGE C IMMUTABLE STRICT;
52 CREATE FUNCTION gbt_intv_fetch(internal)
55 LANGUAGE C IMMUTABLE STRICT;
57 CREATE FUNCTION gbt_cash_fetch(internal)
60 LANGUAGE C IMMUTABLE STRICT;
62 CREATE FUNCTION gbt_macad_fetch(internal)
65 LANGUAGE C IMMUTABLE STRICT;
67 CREATE FUNCTION gbt_var_fetch(internal)
70 LANGUAGE C IMMUTABLE STRICT;
72 ALTER OPERATOR FAMILY gist_oid_ops USING gist ADD
73 FUNCTION 9 (oid, oid) gbt_oid_fetch (internal) ;
75 ALTER OPERATOR FAMILY gist_int2_ops USING gist ADD
76 FUNCTION 9 (int2, int2) gbt_int2_fetch (internal) ;
78 ALTER OPERATOR FAMILY gist_int4_ops USING gist ADD
79 FUNCTION 9 (int4, int4) gbt_int4_fetch (internal) ;
81 ALTER OPERATOR FAMILY gist_int8_ops USING gist ADD
82 FUNCTION 9 (int8, int8) gbt_int8_fetch (internal) ;
84 ALTER OPERATOR FAMILY gist_float4_ops USING gist ADD
85 FUNCTION 9 (float4, float4) gbt_float4_fetch (internal) ;
87 ALTER OPERATOR FAMILY gist_float8_ops USING gist ADD
88 FUNCTION 9 (float8, float8) gbt_float8_fetch (internal) ;
90 ALTER OPERATOR FAMILY gist_timestamp_ops USING gist ADD
91 FUNCTION 9 (timestamp, timestamp) gbt_ts_fetch (internal) ;
93 ALTER OPERATOR FAMILY gist_timestamptz_ops USING gist ADD
94 FUNCTION 9 (timestamptz, timestamptz) gbt_ts_fetch (internal) ;
96 ALTER OPERATOR FAMILY gist_time_ops USING gist ADD
97 FUNCTION 9 (time, time) gbt_time_fetch (internal) ;
99 ALTER OPERATOR FAMILY gist_date_ops USING gist ADD
100 FUNCTION 9 (date, date) gbt_date_fetch (internal) ;
102 ALTER OPERATOR FAMILY gist_interval_ops USING gist ADD
103 FUNCTION 9 (interval, interval) gbt_intv_fetch (internal) ;
105 ALTER OPERATOR FAMILY gist_cash_ops USING gist ADD
106 FUNCTION 9 (money, money) gbt_cash_fetch (internal) ;
108 ALTER OPERATOR FAMILY gist_macaddr_ops USING gist ADD
109 FUNCTION 9 (macaddr, macaddr) gbt_macad_fetch (internal) ;
111 ALTER OPERATOR FAMILY gist_text_ops USING gist ADD
112 FUNCTION 9 (text, text) gbt_var_fetch (internal) ;
114 ALTER OPERATOR FAMILY gist_bpchar_ops USING gist ADD
115 FUNCTION 9 (bpchar, bpchar) gbt_var_fetch (internal) ;
117 ALTER OPERATOR FAMILY gist_bytea_ops USING gist ADD
118 FUNCTION 9 (bytea, bytea) gbt_var_fetch (internal) ;
120 ALTER OPERATOR FAMILY gist_numeric_ops USING gist ADD
121 FUNCTION 9 (numeric, numeric) gbt_var_fetch (internal) ;
123 ALTER OPERATOR FAMILY gist_bit_ops USING gist ADD
124 FUNCTION 9 (bit, bit) gbt_var_fetch (internal) ;
126 ALTER OPERATOR FAMILY gist_vbit_ops USING gist ADD
127 FUNCTION 9 (varbit, varbit) gbt_var_fetch (internal) ;