]> granicus.if.org Git - postgresql/commit
Add regression tests exercising the non-hashed code paths in nodeSetop.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2017 20:52:12 +0000 (16:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2017 21:28:01 +0000 (17:28 -0400)
commit6efca23cc039b6a0b25d2ebf4a22ab7363d17fcf
treea29e644532c1000aea4a46fc904233e7aacc0a69
parentee844bb42632521c89497a2845079770b32a934e
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.
src/test/regress/expected/union.out
src/test/regress/sql/union.sql