[Groonga-commit] pgroonga/pgroonga at aec82cd [master] Add missing jsonb related conditions

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jan 23 21:56:18 JST 2016


Kouhei Sutou	2016-01-23 21:56:18 +0900 (Sat, 23 Jan 2016)

  New Revision: aec82cd786dc7f415f7bf79bf6466d5698c96d24
  https://github.com/pgroonga/pgroonga/commit/aec82cd786dc7f415f7bf79bf6466d5698c96d24

  Message:
    Add missing jsonb related conditions

  Modified files:
    pgroonga.c

  Modified: pgroonga.c (+5 -0)
===================================================================
--- pgroonga.c    2016-01-17 19:02:17 +0900 (7bdd4b2)
+++ pgroonga.c    2016-01-23 21:56:18 +0900 (1a7f375)
@@ -326,6 +326,9 @@ PG_FUNCTION_INFO_V1(pgroonga_match_query_text_array);
 PG_FUNCTION_INFO_V1(pgroonga_match_query_varchar);
 PG_FUNCTION_INFO_V1(pgroonga_match_regexp_text);
 PG_FUNCTION_INFO_V1(pgroonga_match_regexp_varchar);
+#ifdef JSONBOID
+PG_FUNCTION_INFO_V1(pgroonga_match_jsonb);
+#endif
 
 PG_FUNCTION_INFO_V1(pgroonga_insert);
 PG_FUNCTION_INFO_V1(pgroonga_beginscan);
@@ -2653,6 +2656,7 @@ pgroonga_match_query_varchar(PG_FUNCTION_ARGS)
 	PG_RETURN_BOOL(matched);
 }
 
+#ifdef JSONBOID
 /**
  * pgroonga.match_jsonb(jsonb, query) : bool
  */
@@ -2670,6 +2674,7 @@ pgroonga_match_jsonb(PG_FUNCTION_ARGS)
 
 	PG_RETURN_BOOL(false);
 }
+#endif
 
 static grn_bool
 pgroonga_match_regexp_raw(const char *text, unsigned int textSize,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index