else
elog(ERROR, "unrecognized strategy number: %d", strategy);
- PG_RETURN_BOOL(res);
+ PG_RETURN_GIN_LOGIC_VALUE(res);
}
/*
else
elog(ERROR, "unrecognized strategy number: %d", strategy);
- PG_RETURN_GIN_LOGIC_VALUE(res);
+ PG_RETURN_BOOL(res);
}
Datum
extern Datum gin_extract_jsonb(PG_FUNCTION_ARGS);
extern Datum gin_extract_jsonb_query(PG_FUNCTION_ARGS);
extern Datum gin_consistent_jsonb(PG_FUNCTION_ARGS);
+extern Datum gin_triconsistent_jsonb(PG_FUNCTION_ARGS);
/* GIN hash opclass functions */
extern Datum gin_extract_jsonb_hash(PG_FUNCTION_ARGS);
extern Datum gin_extract_jsonb_query_hash(PG_FUNCTION_ARGS);
extern Datum gin_consistent_jsonb_hash(PG_FUNCTION_ARGS);
+extern Datum gin_triconsistent_jsonb_hash(PG_FUNCTION_ARGS);
/* Support functions */
extern int compareJsonbSuperHeaderValue(JsonbSuperHeader a,