pgsql: Add nbtree ScalarArrayOpExpr tests.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add nbtree ScalarArrayOpExpr tests.
Date: 2020-04-30 21:33:41
Message-ID: E1jUGoP-0005BT-Kp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-05-01 08:41:30 pgsql: Improve various aspects of pg_rewind documentation
Previous Message Peter Geoghegan 2020-04-30 19:33:14 Re: pgsql: Add deduplication to nbtree.