postgresql/src/include/nodes
Tom Lane af95d7aa63 Improve INTERSECT/EXCEPT hashing by realizing that we don't need to make any
hashtable entries for tuples that are found only in the second input: they
can never contribute to the output.  Furthermore, this implies that the
planner should endeavor to put first the smaller (in number of groups) input
relation for an INTERSECT.  Implement that, and upgrade prepunion's estimation
of the number of rows returned by setops so that there's some amount of sanity
in the estimate of which one is smaller.
2008-08-07 19:35:02 +00:00
..
bitmapset.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
execnodes.h Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries. 2008-08-07 03:04:04 +00:00
makefuncs.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
memnodes.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
nodeFuncs.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
nodes.h Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 2008-08-02 21:32:01 +00:00
params.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
parsenodes.h Teach the system how to use hashing for UNION. (INTERSECT/EXCEPT will follow, 2008-08-07 01:11:52 +00:00
pg_list.h Fix TransactionIdIsCurrentTransactionId() to use binary search instead of 2008-03-17 02:18:55 +00:00
plannodes.h Improve INTERSECT/EXCEPT hashing by realizing that we don't need to make any 2008-08-07 19:35:02 +00:00
primnodes.h Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 2008-08-02 21:32:01 +00:00
print.h Improve our #include situation by moving pointer types away from the 2008-06-19 00:46:06 +00:00
readfuncs.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
relation.h Improve SELECT DISTINCT to consider hash aggregation, as well as sort/uniq, 2008-08-05 02:43:18 +00:00
tidbitmap.h Replace "amgetmulti" AM functions with "amgetbitmap", in which the whole 2008-04-10 22:25:26 +00:00
value.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00