Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries.

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

Commit: 368df3042783778031ece2b8580324516cd42de1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-08-07T03:04:04Z
Releases: 8.4.0
Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries.
This completes my project of improving usage of hashing for duplicate
elimination (aggregate functions with DISTINCT remain undone, but that's
for some other day).

As with the previous patches, this means we can INTERSECT/EXCEPT on datatypes
that can hash but not sort, and it means that INTERSECT/EXCEPT without ORDER
BY are no longer certain to produce sorted output.

Files