Commit Graph

513 Commits (c3fa600d8cb773d032f199990455eaab0ead5c0c)

Author SHA1 Message Date
Bruce Momjian 857abb0e57 Add newlines around debug output in optimizer showing total costs. 25 years ago
Tom Lane f905d65ee3 Rewrite of planner statistics-gathering code. ANALYZE is now available as 25 years ago
Tom Lane e2004dfc69 Suppress pull-up of subqueries that are in the nullable side of an outer 25 years ago
Tom Lane a43f20cb0a Tweak nestloop costing to weight restart cost of inner path more heavily. 25 years ago
Tom Lane d5096af2c4 Make the world safe for passing whole rows of views to functions. This 25 years ago
Tom Lane cdcaec5c53 Avoid reversing user-given order of WHERE clauses while attaching clauses 25 years ago
Tom Lane f9094c44c0 Prevent generation of invalid plans for RIGHT or FULL joins with multiple 25 years ago
Tom Lane 2ef99ee708 Planner wasn't correctly handling adjustment of tuple_fraction for the 25 years ago
Tom Lane f155cc82ec Quick hack to fix Oliver Elphick's problem with subselects in an 25 years ago
Tom Lane fa0f2c6577 Repair pgindent damage to comments. 25 years ago
Bruce Momjian 7cf952e7b4 Fix comments that were mis-wrapped, for Tom Lane. 25 years ago
Bruce Momjian 0686d49da0 Remove dashes in comments that don't need them, rewrap with pgindent. 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Tom Lane d73e9df087 A subplan invoked within an aggregate function's argument should 25 years ago
Tom Lane 13cc7eb3e2 Clean up two rather nasty bugs in operator selection code. 25 years ago
Tom Lane b29f68f611 Take OUTER JOIN semantics into account when estimating the size of join 25 years ago
Tom Lane 83b4ab53ad Update a couple of obsolete comments. 25 years ago
Bruce Momjian d8c4cb740c Cleanup 25 years ago
Bruce Momjian 281b7d84fc Add // -> /* */ mapping to pgindent. 25 years ago
Tom Lane 503f042cd7 Fix inappropriate attempt to push down qual clauses into a view that 25 years ago
Tom Lane f44639e1bf Don't crash if subquery appears multiple times in jointree. This should 25 years ago
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Tom Lane b06fbc7ad2 Fix performance issue with qualifications on VIEWs: outer query should 25 years ago
Bruce Momjian 5088f0748a Change lcons(x, NIL) to makeList(x) where appropriate. 25 years ago
Bruce Momjian 26e0321191 Move structure comments from the top block down to the line entries for 25 years ago
Tom Lane 07c741e61c Fix oversight in planning of GROUP queries: when an expression is used 25 years ago
Tom Lane 7df721af0e Compute reasonable cost and output-row-count estimates for LIMIT plan 25 years ago
Tom Lane 97cfb9d606 Make sure make_rels_by_clause_joins doesn't return multiple references 25 years ago
Tom Lane ea166f1146 Planner speedup hacking. Avoid saving useless pathkeys, so that path 25 years ago
Tom Lane 17b843d677 Cache eval cost of qualification expressions in RestrictInfo nodes to 25 years ago
Tom Lane 73d2a3595a Clean up handling of FOR UPDATE inside views and subselects ... make it 25 years ago
Tom Lane bbea3643a3 Store current LC_COLLATE and LC_CTYPE settings in pg_control during initdb; 25 years ago
Tom Lane 48437f5c3a Ensure that mergejoin plan will be considered for FULL OUTER JOIN even 25 years ago
Peter Eisentraut a70e74b060 Put external declarations into header files. 25 years ago
Tom Lane 3030189b69 Fix erroneous handling of parameters at SubqueryScan plan nodes, 25 years ago
Tom Lane a933ee38bb Change SearchSysCache coding conventions so that a reference count is 25 years ago
Tom Lane 6543d81d65 Restructure handling of inheritance queries so that they work with outer 25 years ago
Tom Lane a1d133990f Repair some bugs in new union/intersect/except code. 25 years ago
Tom Lane 11f7b29054 Allow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases where 26 years ago
Tom Lane 2f35b4efdb Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in 26 years ago
Tom Lane 09a8912f73 Ensure clause_selectivity() behaves sanely when examining an uplevel Var 26 years ago
Bruce Momjian b32685a999 Add proofreader's changes to docs. 26 years ago
Tom Lane 05e3d0ee86 Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 26 years ago
Tom Lane 3a94e789f5 Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 26 years ago
Tom Lane 8bdc2bf030 Use variable aliases, if supplied, rather than real column names in 26 years ago
Tom Lane 164caa3951 System neglected to complain about ungrouped variables passed to 26 years ago
Tom Lane ba2ea6e0f5 Fix GEQO optimizer to work correctly with new outer-join-capable 26 years ago
Tom Lane 8ae9ad1cb8 Reimplement LIKE/ESCAPE as operators so that indexscan optimization 26 years ago
Tom Lane ed5003c584 First cut at full support for OUTER JOINs. There are still a few loose 26 years ago
Peter Eisentraut 424f0edcb8 Fix relative path references so that make knowns which dependencies refer 26 years ago