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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Test all contrib-created operator classes with amvalidate.
Date: 2016-11-29 20:05:32
Message-ID: E1cBoei-0002Xw-9M@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-11-29 20:09:51 pgsql: Straighten out some whitespace
Previous Message Christian Ullrich 2016-11-29 19:45:13 Re: pgsql: Add putenv support for msvcrt from Visual Studio 2013