Commit Graph

432 Commits (a0905056fd6b0927dd33f185adc9e7503515fc0d)

Author SHA1 Message Date
Tom Lane ebefbb5fde Fix failure with whole-row reference to a subquery. 12 years ago
Robert Haas 3483f4332d Don't use SnapshotNow in get_actual_variable_range. 12 years ago
Tom Lane b32a25c3d5 Fix booltestsel() for case where we have NULL stats but not MCV stats. 12 years ago
Bruce Momjian 9af4159fce pgindent run for release 9.3 12 years ago
Tom Lane 69cc60dcfd Guard against input_rows == 0 in estimate_num_groups(). 13 years ago
Tom Lane 3ccae48f44 Support indexing of regular-expression searches in contrib/pg_trgm. 13 years ago
Tom Lane 31f38f28b0 Redesign the planner's handling of index-descent cost estimation. 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Tom Lane bf01e34b55 Tweak genericcostestimate's fudge factor for index size. 13 years ago
Tom Lane 1f91c8ca1d Avoid planner crash/Assert failure with joins to unflattened subqueries. 13 years ago
Alvaro Herrera c219d9b0a5 Split tuple struct defs from htup.h to htup_details.h 13 years ago
Tom Lane 628cbb50ba Re-implement extraction of fixed prefixes from regular expressions. 13 years ago
Tom Lane 00dac6000d Refactor pattern_fixed_prefix() to avoid dealing in incomplete patterns. 13 years ago
Tom Lane e7ef6d7e24 Fix planner to pass correct collation to operator selectivity estimators. 13 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 13 years ago
Tom Lane 65fd91333e Fix an Assert that turns out to be reachable after all. 14 years ago
Peter Eisentraut 0e85abd658 Clean up compiler warnings from unused variables with asserts disabled 14 years ago
Tom Lane 66a7e6bae9 Improve estimation of IN/NOT IN by assuming array elements are distinct. 14 years ago
Tom Lane 0e5e167aae Collect and use element-frequency statistics for arrays. 14 years ago
Tom Lane 4767bc8ff2 Improve statistics estimation to make some use of DISTINCT in sub-queries. 14 years ago
Tom Lane 21a39de580 Tweak index costing for problems with partial indexes. 14 years ago
Tom Lane e2fa76d80b Use parameterized paths to generate inner indexscans more flexibly. 14 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Tom Lane 472d3935a2 Rethink representation of index clauses' mapping to index columns. 14 years ago
Tom Lane e2c2c2e8b1 Improve planner's handling of duplicated index column expressions. 14 years ago
Robert Haas 0e4611c023 Add a security_barrier option for views. 14 years ago
Tom Lane 1db5af2794 Fix gincostestimate to handle ScalarArrayOpExpr reasonably. 14 years ago
Tom Lane 8daeb5ddd6 Add SP-GiST (space-partitioned GiST) index access method. 14 years ago
Tom Lane eb5834d5af Further improvement of make_greater_string. 14 years ago
Robert Haas 78d523b633 Improve make_greater_string() with encoding-specific incrementers. 14 years ago
Tom Lane 0f39d5050d Don't trust deferred-unique indexes for join removal. 14 years ago
Tom Lane 9e8da0f757 Teach btree to handle ScalarArrayOpExpr quals natively. 14 years ago
Tom Lane 79edb2b1dc Fix recursion into previously planned sub-query in examine_simple_variable. 14 years ago
Tom Lane a7801b62f2 Move Timestamp/Interval typedefs and basic macros into datatype/timestamp.h. 14 years ago
Tom Lane 4c2777d0b7 Change get_variable_numdistinct's API to flag default estimates explicitly. 14 years ago
Tom Lane 1cb108efb0 Dig down into sub-selects to look for column statistics. 14 years ago
Tom Lane 0d3b231eeb Further repair of eqjoinsel ndistinct-clamping logic. 14 years ago
Tom Lane 97930cf578 Improve eqjoinsel's ndistinct clamping to work for multiple levels of join. 14 years ago
Tom Lane c1d9579dd8 Avoid listing ungrouped Vars in the targetlist of Agg-underneath-Window. 14 years ago
Alvaro Herrera b93f5a5673 Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 14 years ago
Bruce Momjian 6560407c7d Pgindent run before 9.1 beta2. 14 years ago
Tom Lane 92647fc4b9 Avoid possible divide-by-zero in gincostestimate. 15 years ago
Tom Lane d64713df7e Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 15 years ago
Tom Lane 3f5d2fe302 Be more wary of missing statistics in eqjoinsel_semi(). 15 years ago
Peter Eisentraut 5caa3479c2 Clean up most -Wunused-but-set-variable warnings from gcc 4.6 15 years ago
Tom Lane 3c381a55b0 Teach pattern_fixed_prefix() about collations. 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Tom Lane 466dac8656 Fix make_greater_string to not have an undocumented collation assumption. 15 years ago
Tom Lane 7208fae18f Clean up cruft around collation initialization for tupdescs and scankeys. 15 years ago
Tom Lane bfa4440ca5 Pass collation to makeConst() instead of looking it up internally. 15 years ago