Commit Graph

230 Commits (54d20024c1dad339acc8624d7ca902b762fe0844)

Author SHA1 Message Date
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
Tom Lane bfd1ffa948 Change patternsel (LIKE/regex selectivity estimation) so that if there 19 years ago
Tom Lane b74c543685 Improve usage of effective_cache_size parameter by assuming that all the 19 years ago
Bruce Momjian 9a7483714f Work around bug in strxfmt() but in MS VS2005. 19 years ago
Tom Lane 8dcaea7be0 Add a fudge factor to genericcostestimate() to prevent the planner from 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 19 years ago
Tom Lane 08ccdf020e Fix oversight in planning for multiple indexscans driven by 19 years ago
Tom Lane 8a30cc2127 Make the planner estimate costs for nestloop inner indexscans on the basis 20 years ago
Tom Lane eed6c9ed7e Add a GUC parameter seq_page_cost, and use that everywhere we formerly 20 years ago
Teodor Sigaev 8a3631f8d8 GIN: Generalized Inverted iNdex. 20 years ago
Tom Lane 427c6b5b98 Avoid assuming that statistics for a parent relation reflect the properties of 20 years ago
Tom Lane 0f0a33099c Generalize mcv_selectivity() to support both VAR OP CONST and CONST OP VAR 20 years ago
Tom Lane a3c1a11fc1 If we're going to expose VariableStatData for contrib modules to use, 20 years ago
Bruce Momjian 59d61409cd Move ltree parentsel() selectivity function into /contrib/ltree. 20 years ago
Bruce Momjian b3e4aefcfb Enhanced containment selectivity function for /contrib/ltree 20 years ago
Tom Lane efe222268f Eliminate some no-longer-needed workarounds for palloc's old behavior 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 3a0a16cb7e Allow row comparisons to be used as indexscan qualifications. 20 years ago
Tom Lane 34f8ee9737 Add selectivity-calculation code for RowCompareExpr nodes. Simplistic, 20 years ago
Tom Lane ce8fd39e15 Improve patternsel() by applying the operator itself to each value 20 years ago
Tom Lane 290166f934 Teach planner and executor to handle ScalarArrayOpExpr as an indexable 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane 2a8d3d83ef R-tree is dead ... long live GiST. 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 0cc0d0822d Document that get_attstatsslot/free_attstatsslot only need to be passed 20 years ago
Tom Lane 303e089df5 Clean up possibly-uninitialized-variable warnings reported by gcc 4.x. 20 years ago
Tom Lane 8889685555 Suppress signed-vs-unsigned-char warnings. 20 years ago
Bruce Momjian 9dbd00b0e2 Remove unnecessary parentheses in assignments. 20 years ago
Bruce Momjian a536b2dd80 Add time/date macros for code clarity: 20 years ago
Bruce Momjian db05f4a7eb Add 'day' field to INTERVAL so 1 day interval can be distinguished from 20 years ago
Bruce Momjian 7f0b690334 Improve comments for AdjustIntervalForTypmod. 20 years ago
Tom Lane b5f7cff84f Clean up the rather historically encumbered interface to now() and 21 years ago
Tom Lane c186c93148 Change the planner to allow indexscan qualification clauses to use 21 years ago
Tom Lane 2f1210629c Separate predicate-testing code out of indxpath.c, making it a module 21 years ago