Commit Graph

463 Commits (ed934d4fa30f0f94e6f7125ad2154e6a58d1c7f7)

Author SHA1 Message Date
Tom Lane ab61df9e52 Remove regex_flavor GUC, so that regular expressions are always "advanced" 16 years ago
Tom Lane a2a8c7a662 Support hex-string input and output for type BYTEA. 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 1d97c19a0f Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from 17 years ago
Tom Lane ce6e31de9c Teach the planner to treat a partial unique index as proving a variable is 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 7f3eba30c9 When estimating without benefit of MCV lists (suggesting that one or both 17 years ago
Tom Lane e6ae3b5dbf Add a concept of "placeholder" variables to the planner. These are variables 17 years ago
Tom Lane 2dbc0ca937 Dept of second thoughts: let's make sure that get_index_stats_hook is only 17 years ago
Tom Lane 7b7df9f0b1 Add hooks to let plugins override the planner's lookups in pg_statistic. 17 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 17 years ago
Tom Lane d4af2a6481 Clean up the loose ends in selectivity estimation left by my patch for semi 17 years ago
Tom Lane e006a24ad1 Implement SEMI and ANTI joins in the planner and executor. (Semijoins replace 17 years ago
Tom Lane 170063cd1e Fix estimate_num_groups() to assume that GROUP BY expressions yielding boolean 17 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane 226837e57e Since createplan.c no longer cares whether index operators are lossy, it has 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane 164899db1c Revert thinko introduced into prefix_selectivity() by my recent patch: 18 years ago
Tom Lane f4230d2937 Change patternsel() so that instead of switching from a pure 18 years ago
Tom Lane 422495d0da Modify prefix_selectivity() so that it will never estimate the selectivity 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane 9fd8843647 Fix mergejoin cost estimation so that we consider the statistical ranges of 18 years ago
Bruce Momjian f6e8730d11 Re-run pgindent with updated list of typedefs. (Updated README should 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane a96fa85025 Second pass at improving LIKE/regex estimation in non-C locales. It turns 18 years ago
Tom Lane 2de946be6a Improve the performance of LIKE/regex estimation in non-C locales, by making 18 years ago
Tom Lane 9542287123 Fix patternsel() and callers to do the right thing for NOT LIKE and the other 18 years ago
Tom Lane 0ee5a39862 Apply a band-aid fix for the problem that 8.2 and up completely misestimate 18 years ago
Tom Lane 140d4ebcb4 Tsearch2 functionality migrates to core. The bulk of this work is by 18 years ago
Magnus Hagander 343a9a27a9 Check return code from strxfrm on Windows since it has a 19 years ago
Tom Lane afcf09dd90 Some further performance tweaks for planning large inheritance trees that 19 years ago
Tom Lane f02a82b6ad Make 'col IS NULL' clauses be indexable conditions. 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 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 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
Teodor Sigaev 61f621b506 Revert gincostestimate changes. 19 years ago
Teodor Sigaev d4c6da1527 Allow GIN's extractQuery method to signal that nothing can satisfy the query. 19 years ago
Tom Lane a053437d9e Dept of second thoughts: the IQ of estimate_array_length() needs to be 19 years ago
Tom Lane af18f6ad85 Fix scalararraysel() to cope with binary-compatible cases, such as text[] 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
Tom Lane 4431758229 Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane d6061d2f31 Fix regex_fixed_prefix() to cope reasonably well with regex patterns of the 19 years ago
Tom Lane a78fcfb512 Restructure operator classes to allow improved handling of cross-data-type 19 years ago
Tom Lane 281f40187f Fix some planner bugs exposed by reports from Arjen van der Meijden. These 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago