Add nbtree ScalarArrayOpExpr tests.
authorPeter Geoghegan <pg@bowt.ie>
Thu, 30 Apr 2020 21:33:13 +0000 (14:33 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Thu, 30 Apr 2020 21:33:13 +0000 (14:33 -0700)
commitd9c501da70b079a7138f8b339339169d5bd24143
tree3d9213df300e75160768d5d33942329f543003d9
parentdd1f645cc8831f55591e466c56b3953b9d100993
Add nbtree ScalarArrayOpExpr tests.

Add test coverage for the nbtutils.c routines concerned with IndexScans
that have native ScalarArrayOpExpr quals.  The ScalarArrayOpExpr
specialized mark and restore routines, and the "find extreme element"
routine now have some test coverage.

These functions are probably infrequently exercised by real world
queries, so having some coverage seems like a good idea.  The mark and
restore routines were originally added by a bugfix that came several
weeks after the first stable release of Postgres 9.2 (see commit
70bc5833195).
src/test/regress/expected/join.out
src/test/regress/sql/join.sql