Commit Graph

463 Commits (ed934d4fa30f0f94e6f7125ad2154e6a58d1c7f7)

Author SHA1 Message Date
Tom Lane ca5f885020 Improve eqjoinsel_semi's behavior for small inner relations with no stats. 9 years ago
Tom Lane 95bee941be Fix misestimation of n_distinct for a nearly-unique column with many nulls. 9 years ago
Teodor Sigaev 8b99edefca Revert CREATE INDEX ... INCLUDING ... 10 years ago
Teodor Sigaev 386e3d7609 CREATE INDEX ... INCLUDING (column[, ...]) 10 years ago
Dean Rasheed 84f9a35e39 Improve estimate of distinct values in estimate_num_groups(). 10 years ago
Tom Lane d65b665d52 Guard against zero vardata.rel->tuples in estimate_hash_bucketsize(). 10 years ago
Tom Lane fa09f89351 Clamp adjusted ndistinct to positive integer in estimate_hash_bucketsize(). 10 years ago
Alvaro Herrera 473b932870 Support CREATE ACCESS METHOD 10 years ago
Tom Lane c82c92b111 Give pull_var_clause() reject/recurse/return behavior for WindowFuncs too. 10 years ago
Tom Lane 364a9f47ab Refactor pull_var_clause's API to make it less tedious to extend. 10 years ago
Tom Lane 65c5fcd353 Restructure index access method API to hide most of it at the C level. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Tom Lane 3c93a60f60 Add some more defenses against silly estimates to gincostestimate(). 10 years ago
Tom Lane 7fb008c5ee Make gincostestimate() cope with hypothetical GIN indexes. 10 years ago
Tom Lane 39df0f150c Allow planner to use expression-index stats for function calls in WHERE. 10 years ago
Tom Lane aad663a0b4 Reduce number of bytes examined by convert_one_string_to_scalar(). 10 years ago
Tom Lane 8693ebe37d Avoid some zero-divide hazards in the planner. 10 years ago
Noah Misch be8b06c364 Revoke support for strxfrm() that write past the specified array length. 10 years ago
Andres Freund f3d3118532 Support GROUPING SETS, CUBE and ROLLUP. 10 years ago
Andrew Dunstan cb9fa802b3 Add new OID alias type regnamespace 11 years ago
Andrew Dunstan 0c90f6769d Add new OID alias type regrole 11 years ago
Tom Lane a5c29d37aa Avoid unused-variable warning in non-assert builds. 11 years ago
Tom Lane b9896198cf Fix cost estimation for indexscans on expensive indexed expressions. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Alvaro Herrera 7516f52594 BRIN: Block Range Indexes 11 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Bruce Momjian 886c0be3f6 C comments: remove odd blank lines after #ifdef WIN32 lines 12 years ago
Heikki Linnakangas 17d787a3b1 Items on GIN data pages are no longer always 6 bytes; update gincostestimate. 12 years ago
Tom Lane fccebe421d Use SnapshotDirty rather than an active snapshot to probe index endpoints. 12 years ago
Tom Lane 77585bce03 Do ScalarArrayOp estimation correctly when array is a stable expression. 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
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