pgsql: Fix assorted inconsistencies in GIN opclass support function dec

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix assorted inconsistencies in GIN opclass support function dec
Date: 2016-01-20 03:32:48
Message-ID: E1aLjVo-0003ow-45@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Fix assorted inconsistencies in GIN opclass support function declarations.

GIN had some minor issues too, mostly using "internal" where something
else would be more appropriate. I went with the same approach as in
9ff60273e35cad6e, namely preferring the opclass' indexed datatype for
arguments that receive an operator RHS value, even if that's not
necessarily what they really are.

Again, this is with an eye to having a uniform rule for ginvalidate()
to check support function signatures.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dbe2328959e12701fade6b500ad411271923d6e4

Modified Files
--------------
contrib/hstore/hstore--1.3.sql | 12 ++++-----
contrib/intarray/intarray--1.1.sql | 8 +++---
contrib/tsearch2/tsearch2--1.0.sql | 4 +--
doc/src/sgml/gin.sgml | 48 ++++++++++++++++++++----------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 22 ++++++++---------
6 files changed, 51 insertions(+), 45 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2016-01-20 04:30:37 pgsql: Properly install dynloader.h on MSVC builds
Previous Message Alvaro Herrera 2016-01-19 20:41:22 pgsql: Add two HyperLogLog functions

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2016-01-20 04:12:26 Re: Proposal: "Causal reads" mode for load balancing reads without stale data
Previous Message Michael Paquier 2016-01-20 03:04:17 Re: NextXID format change (was Re: exposing pg_controldata and pg_config as functions)