pgsql: Test all contrib-created operator classes with amvalidate. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Test all contrib-created operator classes with amvalidate.
Date
Msg-id E1cBoei-0002Xw-9M@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Test all contrib-created operator classes with amvalidate.

I'd supposed that people would do this manually when creating new operator
classes, but the folly of that was exposed today.  The tests seem fast
enough that we can just apply them during the normal regression tests.

contrib/isn fails the checks for lack of complete sets of cross-type
operators.  That's a nice-to-have policy rather than a functional
requirement, so leave it as-is, but insert ORDER BY in the query to
ensure consistent cross-platform output.

Discussion: https://postgr.es/m/7076.1480446837@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
contrib/btree_gin/expected/install_btree_gin.out |  8 +++++
contrib/btree_gin/sql/install_btree_gin.sql      |  5 +++
contrib/btree_gist/expected/init.out             |  8 +++++
contrib/btree_gist/sql/init.sql                  |  5 +++
contrib/citext/expected/citext.out               |  8 +++++
contrib/citext/expected/citext_1.out             |  8 +++++
contrib/citext/sql/citext.sql                    |  5 +++
contrib/cube/expected/cube.out                   |  8 +++++
contrib/cube/expected/cube_2.out                 |  8 +++++
contrib/cube/sql/cube.sql                        |  5 +++
contrib/hstore/expected/hstore.out               |  8 +++++
contrib/hstore/sql/hstore.sql                    |  5 +++
contrib/intarray/expected/_int.out               |  8 +++++
contrib/intarray/sql/_int.sql                    |  5 +++
contrib/isn/expected/isn.out                     | 44 ++++++++++++++++++++++++
contrib/isn/sql/isn.sql                          |  9 +++++
contrib/ltree/expected/ltree.out                 |  8 +++++
contrib/ltree/sql/ltree.sql                      |  5 +++
contrib/pg_trgm/expected/pg_trgm.out             |  8 +++++
contrib/pg_trgm/sql/pg_trgm.sql                  |  5 +++
contrib/seg/expected/seg.out                     |  8 +++++
contrib/seg/expected/seg_1.out                   |  8 +++++
contrib/seg/sql/seg.sql                          |  5 +++
contrib/tsearch2/expected/tsearch2.out           |  8 +++++
contrib/tsearch2/sql/tsearch2.sql                |  5 +++
25 files changed, 207 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add uuid to the set of types supported by contrib/btree_gist.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Straighten out some whitespace