gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.3KB

  1. /* contrib/btree_gin/btree_gin--1.0--1.1.sql */
  2. -- complain if script is sourced in psql, rather than via CREATE EXTENSION
  3. \echo Use "ALTER EXTENSION btree_gin UPDATE TO '1.1'" to load this file. \quit
  4. -- macaddr8 datatype support new in 10.0.
  5. CREATE FUNCTION gin_extract_value_macaddr8(macaddr8, internal)
  6. RETURNS internal
  7. AS 'MODULE_PATHNAME'
  8. LANGUAGE C STRICT IMMUTABLE;
  9. CREATE FUNCTION gin_compare_prefix_macaddr8(macaddr8, macaddr8, int2, internal)
  10. RETURNS int4
  11. AS 'MODULE_PATHNAME'
  12. LANGUAGE C STRICT IMMUTABLE;
  13. CREATE FUNCTION gin_extract_query_macaddr8(macaddr8, internal, int2, internal, internal)
  14. RETURNS internal
  15. AS 'MODULE_PATHNAME'
  16. LANGUAGE C STRICT IMMUTABLE;
  17. CREATE OPERATOR CLASS macaddr8_ops
  18. DEFAULT FOR TYPE macaddr8 USING gin
  19. AS
  20. OPERATOR 1 <,
  21. OPERATOR 2 <=,
  22. OPERATOR 3 =,
  23. OPERATOR 4 >=,
  24. OPERATOR 5 >,
  25. FUNCTION 1 macaddr8_cmp(macaddr8, macaddr8),
  26. FUNCTION 2 gin_extract_value_macaddr8(macaddr8, internal),
  27. FUNCTION 3 gin_extract_query_macaddr8(macaddr8, internal, int2, internal, internal),
  28. FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
  29. FUNCTION 5 gin_compare_prefix_macaddr8(macaddr8, macaddr8, int2, internal),
  30. STORAGE macaddr8;
上海开阖软件有限公司 沪ICP备12045867号-1