Обсуждение: pgsql: Add nbtree ScalarArrayOpExpr tests.

Поиск
Список
Период
Сортировка

pgsql: Add nbtree ScalarArrayOpExpr tests.

От
Peter Geoghegan
Дата:
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).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d9c501da70b079a7138f8b339339169d5bd24143

Modified Files
--------------
src/test/regress/expected/join.out | 47 ++++++++++++++++++++++++++++++++++++++
src/test/regress/sql/join.sql      | 18 +++++++++++++++
2 files changed, 65 insertions(+)