Consistently use "superuser" instead of "super user"
[pgsql.git] / contrib / bloom / bloom--1.0.sql
blob4e7c9226bcddb8f0c5439de3cb9af6fc5448de29
1 /* contrib/bloom/bloom--1.0.sql */
3 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
4 \echo Use "CREATE EXTENSION bloom" to load this file. \quit
6 CREATE FUNCTION blhandler(internal)
7 RETURNS index_am_handler
8 AS 'MODULE_PATHNAME'
9 LANGUAGE C;
11 -- Access method
12 CREATE ACCESS METHOD bloom TYPE INDEX HANDLER blhandler;
13 COMMENT ON ACCESS METHOD bloom IS 'bloom index access method';
15 -- Opclasses
17 CREATE OPERATOR CLASS int4_ops
18 DEFAULT FOR TYPE int4 USING bloom AS
19         OPERATOR        1       =(int4, int4),
20         FUNCTION        1       hashint4(int4);
22 CREATE OPERATOR CLASS text_ops
23 DEFAULT FOR TYPE text USING bloom AS
24         OPERATOR        1       =(text, text),
25         FUNCTION        1       hashtext(text);