Commit Graph

161 Commits (738dc233f4dcb51e9c969718b52f5579de252880)

Author SHA1 Message Date
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 22 years ago
Tom Lane ec646dbc65 Create a 'type cache' that keeps track of the data needed for any particular 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 b89140a7ec Do honest transformation and preprocessing of LIMIT/OFFSET clauses, 23 years ago
Tom Lane a499725469 Allow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals, 23 years ago
Tom Lane e649796f12 Implement outer-level aggregates to conform to the SQL spec, with 23 years ago
Tom Lane 2cf57c8f8d Implement feature of new FE/BE protocol whereby RowDescription identifies 23 years ago
Tom Lane 6c4996fa6b GROUP BY got confused if there were multiple equal() GROUP BY items. 23 years ago
Tom Lane aa83bc04e0 Restructure parsetree representation of DECLARE CURSOR: now it's a 23 years ago
Tom Lane 21591967bc Turns out new IN implementation has got some problems in an UPDATE or 23 years ago
Tom Lane 147fbf9c6e Repair bug reported by Laurent Perez: bad plan generated when UPDATE or 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 056467ec6b Teach planner how to propagate pathkeys from sub-SELECTs in FROM up to 23 years ago
Tom Lane b5956a2f22 Detect case where an outer join can be reduced to a plain inner join 23 years ago
Tom Lane 145014f811 Make further use of new bitmapset code: executor's chgParam, extParam, 23 years ago
Tom Lane 2d1f940542 Minor code cleanup: remove no-longer-useful pull_subplans() function, 23 years ago
Tom Lane 4cff59d8d5 Tweak planner and executor to avoid doing ExecProject() in table scan 23 years ago
Tom Lane 9f5f212475 Allow the planner to collapse explicit inner JOINs together, rather than 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 b19adc1aae Fix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code 23 years ago
Tom Lane de97072e3c Allow merge and hash joins to occur on arbitrary expressions (anything not 23 years ago
Tom Lane 56e1aab286 Reconsider mechanism for marking sub-selects that are at top level of 23 years ago
Tom Lane 8ac6d952cf Cause planner to account for evaluation costs in targetlists and 23 years ago
Tom Lane 6d6c9fd9a4 Cause planner to include costs of InitPlans in startup cost of parent 23 years ago
Tom Lane 2d8d66628a Clean up plantree representation of SubPlan-s --- SubLink does not appear 23 years ago
Tom Lane a0bf885f9e Phase 2 of read-only-plans project: restructure expression-tree nodes 23 years ago
Tom Lane 993b145d7f Avoid pulling up sublinks from a subselect's targetlist. Works around 23 years ago
Tom Lane f68f11928d Tighten selection of equality and ordering operators for grouping 23 years ago
Tom Lane ea0b5c8569 Use Params, rather than run-time-modified Const nodes, to handle 23 years ago
Tom Lane 6c1d4662af Finish implementation of hashed aggregation. Add enable_hashagg GUC 23 years ago
Tom Lane b60be3f2f8 Add an at-least-marginally-plausible method of estimating the number 23 years ago
Tom Lane 89caf56b86 Fix planning bug introduced in recent code reorganization for hashed 23 years ago
Tom Lane 2103b7baa2 Phase 2 of hashed-aggregation project. nodeAgg.c now knows how to do 23 years ago
Tom Lane f6dba10e62 First phase of implementing hash-based grouping/aggregation. An AGG plan 23 years ago
Tom Lane 83fd58dff0 Add missing correction of sublevelsup when pulling up a subquery. 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Bruce Momjian 81dfa2ce43 backend where a statically sized buffer is written to. Most of these 23 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago
Bruce Momjian 0dbfea39f3 Remove KSQO from GUC and move file to _deadcode. 24 years ago
Tom Lane f67a931aa4 Make WHERE conditions pulled up from subqueries be executed before outer 24 years ago
Tom Lane a5b370943e Teach query_tree_walker, query_tree_mutator, and SS_finalize_plan to 24 years ago
Tom Lane 51fd22abdd Change set_plan_references and join_references to take an rtable List 24 years ago
Tom Lane 3389a110d4 Get rid of long-since-vestigial Iter node type, in favor of adding a 24 years ago
Tom Lane 6c59886942 Second try at fixing join alias variables. Instead of attaching miscellaneous 24 years ago
Tom Lane 6eeb95f0f5 Restructure representation of join alias variables. An explicit JOIN 24 years ago
Tom Lane 63cc56de54 Suppress subquery pullup and pushdown when the subquery has any 24 years ago
Bruce Momjian ea08e6cd55 New pgindent run with fixes suggested by Tom. Patch manually reviewed, 24 years ago
Tom Lane 96ca8ffebc Fix problems with subselects used in GROUP BY expressions, per gripe 24 years ago