pgsql: Add regression tests exercising the non-hashed code paths in nod

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add regression tests exercising the non-hashed code paths in nod
Date: 2017-08-11 21:28:16
Message-ID: E1dgHTc-0005o7-Fk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add regression tests exercising the non-hashed code paths in nodeSetop.c.

Perusal of the code coverage report shows that the existing regression
test cases for INTERSECT and EXCEPT seemingly all prefer the SETOP_HASHED
implementation. Add some test cases in which we force use of the
SETOP_SORTED mode.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6efca23cc039b6a0b25d2ebf4a22ab7363d17fcf

Modified Files
--------------
src/test/regress/expected/union.out | 90 +++++++++++++++++++++++++++++++++++++
src/test/regress/sql/union.sql | 28 ++++++++++++
2 files changed, 118 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-08-11 21:39:47 pgsql: Be more thorough about cleaning out gcov litter.
Previous Message Peter Eisentraut 2017-08-11 20:43:07 pgsql: doc: Add example for inet vs cidr difference