Commit Graph

1184 Commits (607b2be7bb230ea4c558cb3101794f94de35ab85)

Author SHA1 Message Date
Tom Lane bf0b6ac43c Skip opfamily check in eclass_matches_any_index() when the index isn't a 18 years ago
Tom Lane ee33b95d9c Improve the plan cache invalidation mechanism to make it invalidate plans 18 years ago
Tom Lane e540b97248 Fix an oversight in the 8.2 patch that improved mergejoin performance by 18 years ago
Tom Lane b153c09209 Add a bunch of new error location reports to parse-analysis error messages. 18 years ago
Tom Lane a2794623d2 Extend the parser location infrastructure to include a location field in 18 years ago
Tom Lane 6734182c16 Teach eval_const_expressions() to simplify an ArrayCoerceExpr to a constant 18 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 18 years ago
Tom Lane bd3daddaf2 Arrange to convert EXISTS subqueries that are equivalent to hashable IN 18 years ago
Tom Lane cc0dd43850 Marginal improvement in sublink planning: allow unknownEqFalse optimization 18 years ago
Tom Lane 390e59cd5f Fix obsolete comment. It's no longer the case that Param nodes don't 18 years ago
Tom Lane 719012e013 Add some defenses against constant-FALSE outer join conditions. Since 18 years ago
Tom Lane f2689e421d Remove prohibition against SubLinks in the WHERE clause of an EXISTS subquery 18 years ago
Tom Lane 19e34b6239 Improve sublink pullup code to handle ANY/EXISTS sublinks that are at top 18 years ago
Tom Lane d4af2a6481 Clean up the loose ends in selectivity estimation left by my patch for semi 18 years ago
Heikki Linnakangas f24f233f6a Fix pull_up_simple_union_all to copy all rtable entries from child subquery to 18 years ago
Tom Lane e006a24ad1 Implement SEMI and ANTI joins in the planner and executor. (Semijoins replace 18 years ago
Tom Lane af95d7aa63 Improve INTERSECT/EXCEPT hashing by realizing that we don't need to make any 18 years ago
Tom Lane 368df30427 Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries. 18 years ago
Tom Lane 2d1d96b1ce Teach the system how to use hashing for UNION. (INTERSECT/EXCEPT will follow, 18 years ago
Tom Lane c78248c91d Department of second thoughts: fix newly-added code in planner.c to make real 18 years ago
Tom Lane be3b265c94 Improve SELECT DISTINCT to consider hash aggregation, as well as sort/uniq, 18 years ago
Tom Lane ec73b56a31 Make GROUP BY work properly for datatypes that only support hashing and not 18 years ago
Tom Lane 9511304752 Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 18 years ago
Tom Lane 63247bec28 Fix parser so that we don't modify the user-written ORDER BY list in order 18 years ago
Tom Lane 9d035f4254 Clean up the use of some page-header-access macros: principally, use 18 years ago
Tom Lane eaf1b5d348 Tighten up SS_finalize_plan's computation of valid_params to exclude Params of 18 years ago
Tom Lane 772a6d45ef Fix mis-calculation of extParam/allParam sets for plan nodes, as seen in 18 years ago
Tom Lane dcc2334736 Consider a clause to be outerjoin_delayed if it references the nullable side 18 years ago
Tom Lane 2c2161a47d Improve planner's estimation of the size of an append relation: rather than 18 years ago
Alvaro Herrera a3540b0f65 Improve our #include situation by moving pointer types away from the 18 years ago
Tom Lane 2e835a4961 Fix the code that adds regclass constants to a plan's list of relation OIDs 18 years ago
Tom Lane 7b8a63c3e9 Alter the xxx_pattern_ops opclasses to use the regular equality operator of 18 years ago
Tom Lane e6dbcb72fa Extend GIN to support partial-match searches, and extend tsquery to support 18 years ago
Tom Lane 0fdb350cae Add code to eval_const_expressions() to support const-simplification of 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane db147b3483 Allow the planner's estimate of the fraction of a cursor's rows that will be 18 years ago
Tom Lane ff673f558a Fix convert_IN_to_join to properly handle the case where the subselect's 18 years ago
Tom Lane 8472bf7a73 Allow float8, int8, and related datatypes to be passed by value on machines 18 years ago
Tom Lane 25e46a504b Fix a couple of oversights associated with the "physical tlist" optimization: 18 years ago
Tom Lane 226837e57e Since createplan.c no longer cares whether index operators are lossy, it has 18 years ago
Tom Lane 24558da14a Phase 2 of project to make index operator lossiness be determined at runtime 18 years ago
Bruce Momjian 91509e6a87 Small wording improvements for source code READMEs. 18 years ago
Bruce Momjian 4d048b7b8b Revert README cleanups. 18 years ago
Bruce Momjian 8cb3ad9f52 Revert sentence removal from nickname in FAQ. 18 years ago
Tom Lane 6b73d7e567 Fix an oversight I made in a cleanup patch over a year ago: 18 years ago
Tom Lane d344115519 Apply my original fix for Taiki Yamaguchi's bug report about DISTINCT MAX(). 18 years ago
Tom Lane 6fc9d4272c Revert my erroneous fix for Taiki Yamaguchi's DISTINCT MAX() bug. 18 years ago
Tom Lane 2e4094dad8 Department of second thoughts: the rule that ORDER BY and DISTINCT are 18 years ago
Tom Lane ff72280c9e When we have successfully optimized a MIN or MAX aggregate into an indexscan, 18 years ago
Alvaro Herrera 73b0300b2a Move the HTSU_Result enum definition into snapshot.h, to avoid including 18 years ago