From 77e65bf369edd0282531794dd907a0943651eff8 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 16 Sep 2014 09:11:49 +0300 Subject: Fix the return type of GIN triConsistent support functions to "char". They were marked to return a boolean, but they actually return a GinTernaryValue, which is more like a "char". It makes no practical difference, as the triConsistent functions cannot be called directly from SQL because they have "internal" arguments, but this nevertheless seems more correct. Also fix the GinTernaryValue name in the documentation. I renamed the enum earlier, but neglected the docs. Alexander Korotkov. This is new in 9.4, so backpatch there. --- doc/src/sgml/gin.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/gin.sgml b/doc/src/sgml/gin.sgml index 80a578dee86..8443c01f6f7 100644 --- a/doc/src/sgml/gin.sgml +++ b/doc/src/sgml/gin.sgml @@ -614,7 +614,7 @@ - GinLogicValue triConsistent(GinLogicValue check[], StrategyNumber n, Datum query, + GinTernaryValue triConsistent(GinTernaryValue check[], StrategyNumber n, Datum query, int32 nkeys, Pointer extra_data[], Datum queryKeys[], bool nullFlags[]) -- cgit v1.2.3