Add opr_sanity queries to inspect commutator/negator links more closely.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Aug 2014 17:22:52 +0000 (13:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Aug 2014 17:22:52 +0000 (13:22 -0400)
commita068b5b65f83660fc99c3faf39ed50493b010fbb
treea65821b476fee642f85652765ba666e45e487cbf
parente3f9c16838358b6b3679dd014455d310919d7efa
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.
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql