Kouhei Sutou
null+****@clear*****
Mon Jun 5 00:08:04 JST 2017
Kouhei Sutou 2017-06-05 00:08:04 +0900 (Mon, 05 Jun 2017) New Revision: 8be062d4ba51831aa1e18cc82b3ce1c0415e77d1 https://github.com/pgroonga/pgroonga/commit/8be062d4ba51831aa1e18cc82b3ce1c0415e77d1 Message: Add pgroonga_{match,query}_contain_text() again It's just for "ALTER EXTENSION pgroonga UPDATE". Modified files: src/pgroonga.c Modified: src/pgroonga.c (+24 -0) =================================================================== --- src/pgroonga.c 2017-06-04 23:59:29 +0900 (82038dc) +++ src/pgroonga.c 2017-06-05 00:08:04 +0900 (2b078c3) @@ -187,10 +187,12 @@ PGRN_FUNCTION_INFO_V1(pgroonga_match_regexp_varchar); /* v2 */ PGRN_FUNCTION_INFO_V1(pgroonga_match_text); PGRN_FUNCTION_INFO_V1(pgroonga_match_text_array); +PGRN_FUNCTION_INFO_V1(pgroonga_match_contain_text); PGRN_FUNCTION_INFO_V1(pgroonga_match_varchar); PGRN_FUNCTION_INFO_V1(pgroonga_contain_varchar_array); PGRN_FUNCTION_INFO_V1(pgroonga_query_text); PGRN_FUNCTION_INFO_V1(pgroonga_query_text_array); +PGRN_FUNCTION_INFO_V1(pgroonga_query_contain_text); PGRN_FUNCTION_INFO_V1(pgroonga_query_varchar); PGRN_FUNCTION_INFO_V1(pgroonga_similar_text); PGRN_FUNCTION_INFO_V1(pgroonga_similar_text_array); @@ -1875,6 +1877,17 @@ pgroonga_match_text_array(PG_FUNCTION_ARGS) } /** + * pgroonga.match_contain_text(targets text[], term text) : bool + * + * It's deprecated since 1.2.1. Just for backward compatibility. + */ +Datum +pgroonga_match_containt_text(PG_FUNCTION_ARGS) +{ + return pgroonga_match_text_array(fcinfo); +} + +/** * pgroonga.match_varchar(target varchar, term varchar) : bool */ Datum @@ -1946,6 +1959,17 @@ pgroonga_query_text_array(PG_FUNCTION_ARGS) } /** + * pgroonga.query_contain_array(targets text[], query text) : bool + * + * It's deprecated since 1.2.1. Just for backward compatibility. + */ +Datum +pgroonga_query_containt_text(PG_FUNCTION_ARGS) +{ + return pgroonga_query_text_array(fcinfo); +} + +/** * pgroonga.query_varchar(target varchar, term varchar) : bool */ Datum -------------- next part -------------- HTML����������������������������...Download