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.

26 line
711B

  1. /* contrib/dict_int/dict_int--1.0.sql */
  2. -- complain if script is sourced in psql, rather than via CREATE EXTENSION
  3. \echo Use "CREATE EXTENSION dict_int" to load this file. \quit
  4. CREATE FUNCTION dintdict_init(internal)
  5. RETURNS internal
  6. AS 'MODULE_PATHNAME'
  7. LANGUAGE C STRICT;
  8. CREATE FUNCTION dintdict_lexize(internal, internal, internal, internal)
  9. RETURNS internal
  10. AS 'MODULE_PATHNAME'
  11. LANGUAGE C STRICT;
  12. CREATE TEXT SEARCH TEMPLATE intdict_template (
  13. LEXIZE = dintdict_lexize,
  14. INIT = dintdict_init
  15. );
  16. CREATE TEXT SEARCH DICTIONARY intdict (
  17. TEMPLATE = intdict_template
  18. );
  19. COMMENT ON TEXT SEARCH DICTIONARY intdict IS 'dictionary for integers';
上海开阖软件有限公司 沪ICP备12045867号-1