Commit Graph

197 Commits (a25b1decef62b2b47504bbf40b9add149ed5b8dc)

Author SHA1 Message Date
Tom Lane 8a1468af4e Restructure planner's handling of inheritance. Rather than processing 20 years ago
Tom Lane e3b9852728 Teach planner how to rearrange join order for some classes of OUTER JOIN. 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 303e089df5 Clean up possibly-uninitialized-variable warnings reported by gcc 4.x. 20 years ago
Tom Lane 4e5fbb34b3 Change the division of labor between grouping_planner and query_planner 20 years ago
Tom Lane dfdf07aab1 Fix up LIMIT/OFFSET planning so that we cope with non-constant LIMIT 20 years ago
Tom Lane cc5e80b8d1 Teach planner about some cases where a restriction clause can be 21 years ago
Tom Lane 3b167a4099 If a LIMIT is applied to a UNION ALL query, plan each UNION arm as 21 years ago
Tom Lane 9ab4d98168 Remove planner's private fields from Query struct, and put them into 21 years ago
Tom Lane c8f81df41b Skip eval_const_expressions when the query is such that the expression 21 years ago
Tom Lane e2159f3842 Teach the planner to remove SubqueryScan nodes from the plan if they 21 years ago
Tom Lane bedb78d386 Implement sharable row-level locks, and use them for foreign key references 21 years ago
Tom Lane addc42c339 Create the planner mechanism for optimizing simple MIN and MAX queries 21 years ago
Tom Lane 6985592967 Split out into a separate function the code in grouping_planner() that 21 years ago
Tom Lane ad161bcc8a Merge Resdom nodes into TargetEntry nodes to simplify code and save a 21 years ago
Tom Lane 5db2e83852 Rethink the order of expression preprocessing: eval_const_expressions 21 years ago
Neil Conway d344505d1b This patch moves some code for preprocessing FOR UPDATE from 21 years ago
Tom Lane 595ed2a855 Make the behavior of HAVING without GROUP BY conform to the SQL spec. 21 years ago
Tom Lane 0bf2587df4 Improve planner's estimation of the space needed for HashAgg plans: 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane 47aa95e951 Clean up handling of inherited-table update queries, per bug report 21 years ago
Bruce Momjian 15d3f9f6b7 Another pgindent run with lib typedefs added. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
Tom Lane 7643bed58e When using extended-query protocol, postpone planning of unnamed statements 22 years ago
Neil Conway 72b6ad6313 Use the new List API function names throughout the backend, and disable the 22 years ago
Neil Conway d0b4399d81 Reimplement the linked list data structure used throughout the backend. 22 years ago
Tom Lane 1697568d57 Repair recalculation failure for nested sub-SELECTs, per bug report from 22 years ago
Tom Lane 989067bd22 Extend set-operation planning to keep track of the sort ordering induced 22 years ago
Tom Lane 2e5fe483a3 Repair optimization bug I introduced in a moment of brain fade back in 22 years ago
Tom Lane 391c3811a2 Rename SortMem and VacuumMem to work_mem and maintenance_work_mem. 22 years ago
Tom Lane 6bdfde9a77 When testing whether a sub-plan can do projection, use a general-purpose 22 years ago
Tom Lane 67af5bace5 Fix another place that wasn't maintaining AND/OR flatness of an 22 years ago
Tom Lane c607bd693f Clean up the usage of canonicalize_qual(): in particular, be consistent 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
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