Fix the return type of GIN triConsistent support functions to "char".
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 16 Sep 2014 06:11:49 +0000 (09:11 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 16 Sep 2014 06:22:33 +0000 (09:22 +0300)
commit77e65bf369edd0282531794dd907a0943651eff8
tree19aec6ff7e4fe1ffbaac06aca389071cc867e50b
parent58e70cf9fb42c1ad60b8ba730fd129f2ce6fa332
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
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h