Commit Graph

159 Commits (b9856b67a7a762ab5bedfafbda4f654797d83996)

Author SHA1 Message Date
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 a2794623d2 Extend the parser location infrastructure to include a location field in 17 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 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 9511304752 Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 17 years ago
Tom Lane 63247bec28 Fix parser so that we don't modify the user-written ORDER BY list in order 17 years ago
Alvaro Herrera a3540b0f65 Improve our #include situation by moving pointer types away from the 17 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 88ae1bd3f2 Remove an Assert that's been obsoleted by recent changes in the parsetree 18 years ago
Tom Lane bc8d164d06 Fix mistaken Assert in adjust_appendrel_attr_needed, per Greg Stark. 18 years ago
Tom Lane 6808f1b1de Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard. 18 years ago
Tom Lane 925ca9d7de Tweak make_inh_translation_lists() to check the common case wherein parent and 18 years ago
Tom Lane 0f4ff460c4 Fix up the remaining places where the expression node structure would lose 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 7c5e5439d2 Get rid of some old and crufty global variables in the planner. When 19 years ago
Tom Lane 4f06c688c7 Put back planner's ability to cache the results of mergejoinscansel(), 19 years ago
Tom Lane f41803bb39 Refactor planner's pathkeys data structure to create a separate, explicit 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane 0ee26100b6 Fix UNION/INTERSECT/EXCEPT so that when two inputs being merged have 19 years ago
Tom Lane 986085a7f0 Improve the representation of FOR UPDATE/FOR SHARE so that we can 19 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 8b109ebf14 Teach planner to convert simple UNION ALL subqueries into append relations, 20 years ago
Tom Lane 8a1468af4e Restructure planner's handling of inheritance. Rather than processing 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 688784f671 Prevent planner from including temp tables of other backends when expanding 20 years ago
Tom Lane 5d27bf20b4 Make use of new list primitives list_append_unique and list_concat_unique 20 years ago
Tom Lane 3b167a4099 If a LIMIT is applied to a UNION ALL query, plan each UNION arm as 20 years ago
Tom Lane a31ad27fc5 Simplify the planner's join clause management by storing join clauses 20 years ago
Tom Lane 9ab4d98168 Remove planner's private fields from Query struct, and put them into 20 years ago
Tom Lane e2159f3842 Teach the planner to remove SubqueryScan nodes from the plan if they 20 years ago
Tom Lane ad161bcc8a Merge Resdom nodes into TargetEntry nodes to simplify code and save a 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane 12b1b5d837 Instead of supposing (wrongly, in the general case) that the rowtype 21 years ago
Tom Lane 47aa95e951 Clean up handling of inherited-table update queries, per bug report 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 c3a153afed Tweak palloc/repalloc to allow zero bytes to be requested, as per recent 21 years ago
Tom Lane ae93e5fd6e Make the world very nearly safe for composite-type columns in tables. 21 years ago
Neil Conway 72b6ad6313 Use the new List API function names throughout the backend, and disable the 21 years ago
Neil Conway d0b4399d81 Reimplement the linked list data structure used throughout the backend. 21 years ago
Tom Lane 3a0d95d181 Yawn ... still another place not quite ready for zero-column tables. 21 years ago