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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6efca23cc039b6a0b25d2ebf4a22ab7363d17fcf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-08-11T21:28:01Z
Releases: 10.0
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.

Files

PathChange+/−
src/test/regress/expected/union.out modified +90 −0
src/test/regress/sql/union.sql modified +28 −0