pgsql: Add nbtree ScalarArrayOpExpr tests. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Add nbtree ScalarArrayOpExpr tests.
Date
Msg-id E1jUGoP-0005BT-Kp@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Add deduplication to nbtree.
Next
From: Michael Paquier
Date:
Subject: pgsql: Improve various aspects of pg_rewind documentation