Commit Graph

494 Commits (e89bd02f58ac07e44e0388a32b7ee1b42f1fd7c6)

Author SHA1 Message Date
Tom Lane 0436679969 Get rid of adjust_appendrel_attr_needed(), which has been broken ever since 17 years ago
Tom Lane e6ae3b5dbf Add a concept of "placeholder" variables to the planner. These are variables 17 years ago
Tom Lane 0d115dde82 Extend CTE patch to support recursive UNION (ie, without ALL). The 17 years ago
Tom Lane bf461538e1 When expanding a whole-row Var into a RowExpr during ResolveNew(), attach 17 years ago
Tom Lane 44d5be0e53 Implement SQL-standard WITH clauses, including WITH RECURSIVE. 17 years ago
Tom Lane ee33b95d9c Improve the plan cache invalidation mechanism to make it invalidate plans 17 years ago
Tom Lane b153c09209 Add a bunch of new error location reports to parse-analysis error messages. 17 years ago
Tom Lane 449a00fbbd Fix the raw-parsetree representation of star (as in SELECT * FROM or 17 years ago
Tom Lane a2794623d2 Extend the parser location infrastructure to include a location field in 17 years ago
Tom Lane bd3daddaf2 Arrange to convert EXISTS subqueries that are equivalent to hashable IN 17 years ago
Tom Lane e006a24ad1 Implement SEMI and ANTI joins in the planner and executor. (Semijoins replace 17 years ago
Tom Lane af95d7aa63 Improve INTERSECT/EXCEPT hashing by realizing that we don't need to make any 17 years ago
Tom Lane 368df30427 Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries. 17 years ago
Tom Lane 2d1d96b1ce Teach the system how to use hashing for UNION. (INTERSECT/EXCEPT will follow, 17 years ago
Tom Lane be3b265c94 Improve SELECT DISTINCT to consider hash aggregation, as well as sort/uniq, 17 years ago
Tom Lane 9511304752 Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 17 years ago
Tom Lane a41f73a092 Add dump support for SortBy nodes. Needed this while debugging a reported 17 years ago
Tom Lane d89737d31c Support "variadic" functions, which can accept a variable number of arguments 17 years ago
Alvaro Herrera 6fff5c3b82 Remove typename from A_Const. 18 years ago
Tom Lane 226837e57e Since createplan.c no longer cares whether index operators are lossy, it has 18 years ago
Tom Lane 58a8285542 Remove TypeName struct's timezone flag, which has been write-only storage 18 years ago
Tom Lane 6b0706ac33 Arrange for an explicit cast applied to an ARRAY[] constructor to be applied 18 years ago
Neil Conway bbee1c5da8 Fix an omission in the outfuncs.c support for Agg nodes: the grpColIdx 18 years ago
Neil Conway 6d389bfd26 Fix a minor bug in outfuncs support for SetOp: dupOperators is an array 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane 265f904d8f Code review for LIKE ... INCLUDING INDEXES patch. Fix failure to propagate 18 years ago
Bruce Momjian f6e8730d11 Re-run pgindent with updated list of typedefs. (Updated README should 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane c291203ca3 Fix EquivalenceClass code to handle volatile sort expressions in a more 18 years ago
Tom Lane 82d8ab6fc4 Fix the plan-invalidation mechanism to treat regclass constants that refer to 18 years ago
Tom Lane b4c806faa8 Rewrite make_outerjoininfo's construction of min_lefthand and min_righthand 18 years ago
Neil Conway 474774918b Implement CREATE TABLE LIKE ... INCLUDING INDEXES. Patch from NikhilS, 18 years ago
Tom Lane 804f016fb5 Fix outfuncs.c to dump A_Const nodes representing NULLs correctly. This has 18 years ago
Tom Lane a9545b3aef Improve UPDATE/DELETE WHERE CURRENT OF so that they can be used from plpgsql 19 years ago
Tom Lane 6808f1b1de Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard. 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane 11086f2f2b Repair planner bug introduced in 8.2 by ability to rearrange outer joins: 19 years ago
Tom Lane d7153c5fad Fix best_inner_indexscan to return both the cheapest-total-cost and 19 years ago
Tom Lane bbbe825f5f Modify processing of DECLARE CURSOR and EXPLAIN so that they can resolve the 19 years ago
Tom Lane bf94076348 Fix array coercion expressions to ensure that the correct volatility is 19 years ago
Tom Lane 0f4ff460c4 Fix up the remaining places where the expression node structure would lose 19 years ago
Tom Lane b9527e9840 First phase of plan-invalidation project: create a plan cache management 19 years ago
Tom Lane c7ff7663e4 Get rid of the separate EState for subplans, and just let them share the 19 years ago
Tom Lane eab6b8b27e Turn the rangetable used by the executor into a flat list, and avoid storing 19 years ago
Tom Lane 9cbd0c155d Remove the Query structure from the executor's API. This allows us to stop 19 years ago
Tom Lane 7c5e5439d2 Get rid of some old and crufty global variables in the planner. When 19 years ago
Tom Lane b8c3267792 Put function expressions and values lists into FunctionScan and ValuesScan 19 years ago
Tom Lane 33c4a77f29 Avoid infinite recursion when dumping new planner EquivalenceClass trees. 19 years ago
Peter Eisentraut ec020e1ceb Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 19 years ago
Tom Lane 4f06c688c7 Put back planner's ability to cache the results of mergejoinscansel(), 19 years ago