Commit Graph

121 Commits (fa559a86eec2ae90fd63fd7e6563e42f7dc619e0)

Author SHA1 Message Date
Tom Lane fa559a86ee Adjust indexscan planning logic to keep RestrictInfo nodes associated 22 years ago
Tom Lane 9091e8d1b2 Add the ability to extract OR indexscan conditions from OR-of-AND 22 years ago
Tom Lane 82b4dd394f Merge restrictlist_selectivity into clauselist_selectivity by 22 years ago
Bruce Momjian ed96bfde18 Here is the definition of relation_byte_size() in optimizer/path/costsize.c: 22 years ago
Tom Lane 7f8f7665fc Planner failed to be smart about binary-compatible expressions in pathkeys 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Tom Lane a1dcd8f6dd Add a little more smarts to estimate_hash_bucketsize(): if there's no 22 years ago
Bruce Momjian 46785776c4 Another pgindent run with updated typedefs. 22 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane 45708f5ebc Error message editing in backend/optimizer, backend/rewrite. 22 years ago
Tom Lane 3d09f6c560 Make cost estimates for SubqueryScan more realistic: charge cpu_tuple_cost 22 years ago
Tom Lane 835bb975d8 Restructure building of join relation targetlists so that a join plan 23 years ago
Tom Lane bee217924d Support expressions of the form 'scalar op ANY (array)' and 23 years ago
Tom Lane 51972a9d5d COALESCE() and NULLIF() are now first-class expressions, not macros 23 years ago
Tom Lane 0d7abfe7cf Marginal tweaks to make sure that roundoff error won't cause us to make 23 years ago
Tom Lane c15a4c2aef Replace planner's representation of relation sets, per pghackers discussion. 23 years ago
Tom Lane 2e46b762eb Extend join-selectivity API (oprjoin interface) so that join type is 23 years ago
Tom Lane 70fba70430 Upgrade cost estimation for joins, per discussion with Bradley Baetz. 23 years ago
Tom Lane c4d0ff32e9 Make estimation of mergejoin scan selectivities more robust, per recent 23 years ago
Tom Lane bdfbfde1b1 IN clauses appearing at top level of WHERE can now be handled as joins. 23 years ago
Tom Lane de97072e3c Allow merge and hash joins to occur on arbitrary expressions (anything not 23 years ago
Tom Lane d4ce5a4f4c Revise cost_qual_eval() to compute both startup (one-time) and per-tuple 23 years ago
Tom Lane a0fa0117a5 Better solution to integer overflow problem in hash batch-number 23 years ago
Tom Lane f772e6cbf7 Clamp the output of estimate_hash_bucketsize() to a sane range; 23 years ago
Tom Lane 2d8d66628a Clean up plantree representation of SubPlan-s --- SubLink does not appear 23 years ago
Tom Lane 77b7a740f9 Adjust costsize calculations to avoid introducing unnecessary roundoff 23 years ago
Tom Lane a0bf885f9e Phase 2 of read-only-plans project: restructure expression-tree nodes 23 years ago
Tom Lane 935969415a Be more realistic about plans involving Materialize nodes: take their 23 years ago
Tom Lane ddb2d78de0 Upgrade planner and executor to allow multiple hash keys for a hash join, 23 years ago
Tom Lane 6c1d4662af Finish implementation of hashed aggregation. Add enable_hashagg GUC 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Thomas G. Lockhart 68d9fbeb55 Implement the IS DISTINCT FROM operator per SQL99. 24 years ago
Bruce Momjian 73ad6ca96c The attached patch fixes some spelling mistakes, makes the 24 years ago
Bruce Momjian e2c007046f Back out cleanup patch. Got old version and needs work. 24 years ago
Bruce Momjian ed275aea42 The attached patch fixes some spelling mistakes, makes the 24 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago
Tom Lane f9e4f611a1 First pass at set-returning-functions in FROM, by Joe Conway with 24 years ago
Tom Lane 6eeb95f0f5 Restructure representation of join alias variables. An explicit JOIN 24 years ago
Tom Lane 54f7f62d4a Fix thinko: cost_mergejoin must pay attention to which side of the 24 years ago
Tom Lane 8f0a9e85b3 Second thoughts dept: arrange to cache mergejoin scan selectivity 24 years ago
Tom Lane f8c109528c Teach planner about the idea that a mergejoin won't necessarily read 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Tom Lane f933766ba7 Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 24 years ago
Tom Lane 01a819abe3 Make planner compute the number of hash buckets the same way that 25 years ago
Tom Lane a8fe109ac1 Fix thinko in hash cost estimation: average frequency 25 years ago
Tom Lane 7c579fa12d Further work on making use of new statistics in planner. Adjust APIs 25 years ago
Tom Lane be03eb25f3 Modify optimizer data structures so that IndexOptInfo lists built for 25 years ago
Tom Lane c23bc6fbb0 First cut at making indexscan cost estimates depend on correlation 25 years ago
Tom Lane 6cda3ad8fe Cause planner to make use of average-column-width statistic that is now 25 years ago