pgsql: Add opr_sanity queries to inspect commutator/negator links more

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add opr_sanity queries to inspect commutator/negator links more
Date: 2014-08-16 17:22:56
Message-ID: E1XIhgu-0006ju-67@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add opr_sanity queries to inspect commutator/negator links more closely.

Make lists of the names of all operators that are claimed to be commutator
pairs or negator pairs. This is analogous to the existing queries that
make lists of all operator names appearing in particular opclass strategy
slots. Unexpected additions to these lists are likely to be mistakes; had
we had these queries in place before, bug #11178 might've been prevented.

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/opr_sanity.out | 73 ++++++++++++++++++++++++++++--
src/test/regress/sql/opr_sanity.sql | 23 ++++++++--
2 files changed, 90 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-08-16 17:49:10 pgsql: Fix bogus return macros in range_overright_internal().
Previous Message Tom Lane 2014-08-16 16:54:04 pgsql: Fix bogus commutator/negator links for JSONB containment operato