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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix the return type of GIN triConsistent support functions to "c
Дата
Msg-id E1XTmR5-0001OX-N9@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/77e65bf369edd0282531794dd907a0943651eff8

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Follow the RFCs more closely in libpq server certificate hostnam
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix the return type of GIN triConsistent support functions to "c