Commit Graph

1084 Commits (ad9a99c24f7084d2511e84efbac3a807b14656f3)

Author SHA1 Message Date
Tom Lane 46379d6e60 Separate parse-analysis for utility commands out of parser/analyze.c 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 10f719af33 Change build_index_pathkeys() so that the expressions it builds to represent 19 years ago
Tom Lane cadb78330e Repair two constraint-exclusion corner cases triggered by proving that an 19 years ago
Tom Lane 604ffd280b Create hooks to let a loadable plugin monitor (or even replace) the planner 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 2415ad9831 Teach tuplestore.c to throw away data before the "mark" point when the caller 19 years ago
Tom Lane 1856e609ec Improve predicate_refuted_by_simple_clause() to handle IS NULL and IS NOT NULL 19 years ago
Tom Lane d26559dbf3 Teach tuplesort.c about "top N" sorting, in which only the first N tuples 19 years ago
Tom Lane b4349519c1 Fix a thinko in my patch of a couple months ago for bug #3116: it did the 19 years ago
Tom Lane 57b82bf324 Marginal performance hack: use a dedicated routine instead of copyObject 19 years ago
Tom Lane afaa6b9821 Marginal performance hack: avoid unnecessary work in expression_tree_mutator. 19 years ago
Tom Lane bbbe825f5f Modify processing of DECLARE CURSOR and EXPLAIN so that they can resolve the 19 years ago
Tom Lane afcf09dd90 Some further performance tweaks for planning large inheritance trees that 19 years ago
Tom Lane 48239e156f Avoid useless work during set_plain_rel_pathlist() when the relation 19 years ago
Tom Lane 925ca9d7de Tweak make_inh_translation_lists() to check the common case wherein parent and 19 years ago
Tom Lane ca3d14f2a9 Tweak set_rel_width() to avoid redundant executions of getrelid(). 19 years ago
Tom Lane 2e824a8ea9 Rewrite choose_bitmap_and() to make it more robust in the presence of 19 years ago
Tom Lane 66888f7424 Expose more cursor-related functionality in SPI: specifically, allow 19 years ago
Tom Lane fa92d21a48 Avoid running build_index_pathkeys() in situations where there cannot 19 years ago
Tom Lane b396df8485 Don't remove the 'alias' field from flattened rangetable entries; 19 years ago
Tom Lane f02a82b6ad Make 'col IS NULL' clauses be indexable conditions. 19 years ago
Tom Lane 57690c6803 Support enum data types. Along the way, use macros for the values of 19 years ago
Tom Lane bf94076348 Fix array coercion expressions to ensure that the correct volatility is 19 years ago
Tom Lane 54d20024c1 Fix some problems with selectivity estimation for partial indexes. 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 cc0cac4a49 Fix oversight in original coding of inline_function(): since 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 4756ff3dca Put back copyObject() call I removed in a fit of brain fade. This one 19 years ago
Tom Lane 655aa5b330 Now that plans have flat rangetable lists, it's a lot easier to get EXPLAIN to 19 years ago
Tom Lane cc77005df7 Change Agg and Group nodes so that Vars contained in their targetlists 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 72a070a365 Teach find_nonnullable_rels to handle OR cases: if every arm of an OR 19 years ago
Tom Lane 8249409bc1 Adjust the definition of is_pushed_down so that it's always true for INNER 19 years ago
Tom Lane 7ea758b0b1 Fix another problem in 8.2 changes that allowed "one-time" qual conditions to 19 years ago
Tom Lane 6bef118b01 Restructure code that is responsible for ensuring that clauseless joins are 19 years ago
Tom Lane c17117649b Repair bug in 8.2's new logic for planning outer joins: we have to allow joins 19 years ago
Peter Eisentraut c138b966d4 Replace useless uses of := by = in makefiles. 19 years ago
Tom Lane 56e59edd75 Fix a performance regression in 8.2: optimization of MIN/MAX into indexscans 19 years ago
Tom Lane ab05eedecc Add support for cross-type hashing in hashed subplans (hashed IN/NOT IN cases 19 years ago
Tom Lane f8eb75b673 Repair insufficiently careful type checking for SQL-language functions: 19 years ago
Bruce Momjian 8b4ff8b6a1 Wording cleanup for error messages. Also change can't -> cannot. 19 years ago
Tom Lane a635c08fa1 Add support for cross-type hashing in hash index searches and hash joins. 19 years ago
Tom Lane 2b8758a389 Repair oversight in creation of "append relations": we should set up 19 years ago