pgsql: Fix the return type of GIN triConsistent support functions to "c

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix the return type of GIN triConsistent support functions to "c
Date: 2014-09-16 06:40:23
Message-ID: E1XTmR5-0001OY-NE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4c054ad18ecc4aa7fdc9a6760d029c64eaab1cdd

Modified Files
--------------
doc/src/sgml/gin.sgml | 2 +-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2014-09-17 05:08:48 pgsql: Fix TAP checks when current directory name contains spaces
Previous Message Heikki Linnakangas 2014-09-15 13:17:09 pgsql: Follow the RFCs more closely in libpq server certificate hostnam