Commit Graph

1184 Commits (607b2be7bb230ea4c558cb3101794f94de35ab85)

Author SHA1 Message Date
Tom Lane cbf503180f Tweak recognition of range-clause pairs so that 'var > $1 AND var < $2' 26 years ago
Peter Eisentraut 6a68f42648 The heralded `Grand Unified Configuration scheme' (GUC) 26 years ago
Tom Lane 0f1e39643d Third round of fmgr updates: eliminate calls using fmgr() and 26 years ago
Bruce Momjian a12a23f0d0 Remove unused include files. Do not touch /port or includes used by defines. 26 years ago
Tom Lane 091126fa28 Generated header files parse.h and fmgroids.h are now copied into 26 years ago
Tom Lane ab843085f1 Constant-expression simplifier now knows how to simplify strict functions 26 years ago
Tom Lane 0a7fb4e918 First round of changes for new fmgr interface. fmgr itself and the 26 years ago
Tom Lane 1c5b902018 Fix problem in which sloppily-coded test in ExecInitIndexScan would 26 years ago
Tom Lane d6eac08f11 Repair problem noted by Elphick: make_rels_by_joins failed to handle 26 years ago
Tom Lane 32e192d712 Repair coredump seen when a view refers to an inheritance group 26 years ago
Tom Lane 25442d8d2f Correct oversight in hashjoin cost estimation: nodeHash sizes its hash 26 years ago
Tom Lane 82849df6c6 Add new selectivity estimation functions for pattern-matching operators 26 years ago
Tom Lane 8064a49f6f get_relattval() should treat a NULL constant as a non-constant expression, 26 years ago
Tom Lane 9d91db4fde Repair bug reported by Wickstrom: backend would crash if WHERE clause 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Tom Lane 9c38a8d296 Further tweaking of indexscan cost estimates. 26 years ago
Tom Lane 1c72a8a37a Fix extremely nasty little bug observed when a sub-SELECT appears in 26 years ago
Tom Lane e55985d3be Tweak indexscan cost estimation: round estimated # of tuples visited up 26 years ago
Tom Lane 8cbeb5f131 Save a few cycles in simple cases: no need to call cost_sort() when there 26 years ago
Tom Lane 7177bbac29 A little further tweaking of the range-query selectivity logic: 26 years ago
Tom Lane 1afaa2557a If we cannot get a real estimate for the selectivity of a range query, 26 years ago
Tom Lane 1d5e7a6f46 Repair logic flaw in cost estimator: cost_nestloop() was estimating CPU 26 years ago
Tom Lane 3ee8f7e207 Restructure planning code so that preprocessing of targetlist and quals 26 years ago
Tom Lane d6429e552d Minor code rearrangement & doc improvement in eval_const_expressions(). 26 years ago
Tom Lane 341b328b18 Fix a bunch of minor portability problems and maybe-bugs revealed by 26 years ago
Thomas G. Lockhart 6456810078 Implement column aliases on views "CREATE VIEW name (collist)". 26 years ago
Tom Lane 6217a8c7ba Fix some bogosities in the code that deals with estimating the fraction 26 years ago
Tom Lane 1879175b18 Fix performance bug in constant-expression simplifier. After finding 26 years ago
Tom Lane e8be8ffaf0 Further tweaking of logic that decides when to materialize an uncorrelated 26 years ago
Hiroshi Inoue fd9ff86bd9 Trial implementation of ALTER DROP COLUMN. 26 years ago
Tom Lane 0eb5ab8250 Apply a MATERIAL node to the result of an uncorrelated subplan, if it 26 years ago
Tom Lane 84ccfdf087 Avoid a little bit of unnecessary computation in canonicalize_qual. 26 years ago
Tom Lane be05edd812 Tweak planner to use OFFSET+LIMIT, not just LIMIT, as estimate of the 26 years ago
Tom Lane 57b30e8e22 Create a new expression node type RelabelType, which exists solely to 26 years ago
Tom Lane 3cbcb78a3d Plug some more memory leaks in the planner. It still leaks like a sieve, 26 years ago
Hiroshi Inoue e3a97b370c Implement reindex command 26 years ago
Tom Lane 598ea2c359 Finish repairing 6.5's problems with r-tree indexes: create appropriate 26 years ago
Tom Lane 47dde30222 Remove long-dead code. 26 years ago
Tom Lane b1577a7c78 New cost model for planning, incorporating a penalty for random page 26 years ago
Thomas G. Lockhart a344a6e7b5 Carry column aliases from the parser frontend. Enables queries like 26 years ago
Tom Lane d8733ce674 Repair planning bugs caused by my misguided removal of restrictinfo link 26 years ago
Tom Lane 81fc1d5edb Rename same() to sameseti() to have a slightly less generic name. Move 26 years ago
Tom Lane 78296c2797 Further cleanup for OR-of-AND WHERE-clauses. orindxpath can now handle 26 years ago
Tom Lane d24ef0d08f Make EXPLAIN results for Append, Group, Agg, Unique nodes more plausible. 26 years ago
Tom Lane 003dd965d2 Apply the heuristic proposed by Taral (see pgsql-general archives for 26 years ago
Tom Lane dd979f66be Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now 26 years ago
Bruce Momjian 5c25d60244 Add: 26 years ago
Tom Lane 0dbffa704a First cut at making useful selectivity estimates for range queries 26 years ago
Tom Lane 8449df8a67 First cut at unifying regular selectivity estimation with indexscan 26 years ago
Tom Lane 71ed7eb494 Revise handling of index-type-specific indexscan cost estimation, per 26 years ago