Commit Graph

1184 Commits (607b2be7bb230ea4c558cb3101794f94de35ab85)

Author SHA1 Message Date
Alvaro Herrera 78f02ca1f5 Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 18 years ago
Alvaro Herrera d43b085d57 Separate snapshot management code from tuple visibility code, create a 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane fd791e7b5a When a relation has been proven empty by constraint exclusion, propagate that 18 years ago
Bruce Momjian fca9fff41b More README src cleanups. 18 years ago
Bruce Momjian 4e228447aa Make source code READMEs more consistent. Add CVS tags to all README files. 18 years ago
Tom Lane 0d49838df6 Arrange to "inline" SQL functions that appear in a query's FROM clause, 18 years ago
Tom Lane c9a1cc694a Change hash index creation so that rather than always establishing exactly 18 years ago
Peter Eisentraut 0474dcb608 Refactor backend makefiles to remove lots of duplicate code 18 years ago
Tom Lane 09bb6f6ed0 Fix silly mistake in expand_indexqual_rowcompare --- in converting a forboth() 18 years ago
Tom Lane a44174cf90 Fix subselect.c to avoid assuming that a SubLink's testexpr references each 18 years ago
Tom Lane 208d0a2321 Fix logical errors in constraint exclusion: we cannot assume that a CHECK 18 years ago
Tom Lane 89c0a87fda The original implementation of polymorphic aggregates didn't really get the 18 years ago
Tom Lane df62977d00 Fix an old error in clause_selectivity: the default selectivity estimate 18 years ago
Tom Lane 59fc64acee Fix a conceptual error in my patch of 2007-10-26 that avoided considering 18 years ago
Tom Lane 6a6522529f Fix some planner issues found while investigating Kevin Grittner's report 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
Tom Lane f538329f9d Fix build_minmax_path() to cope if an IS NULL clause turns up in the 18 years ago
Tom Lane aca467b9b3 Save another little bit of planner overhead on simple queries, by having 18 years ago
Tom Lane a36436ea3f Change fix_scan_expr() to avoid copying the input node tree in the common case 18 years ago
Tom Lane 92c0bf0960 Avoid uselessly building a duplicate of the original clause in trivial cases 18 years ago
Tom Lane 6342f36d87 Save one syscache lookup when examining volatility or strictness 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 c291203ca3 Fix EquivalenceClass code to handle volatile sort expressions in a more 18 years ago
Tom Lane 1be0601681 Last week's patch for make_sort_from_pathkeys wasn't good enough: it has 18 years ago
Tom Lane 2de946be6a Improve the performance of LIKE/regex estimation in non-C locales, by making 18 years ago
Tom Lane 97ddfc9607 Ensure that EquivalenceClasses generated from ORDER BY keys contain proper 18 years ago
Tom Lane 834ddc6272 Avoid considering both sort directions as equally useful for merging. 18 years ago
Tom Lane cd2a2ce904 Change have_join_order_restriction() so that we do not force a clauseless join 18 years ago
Tom Lane 3ef18797b8 Fix an error in make_outerjoininfo introduced by my patch of 30-Aug: the code 18 years ago
Tom Lane c29a9c37bf Fix UPDATE/DELETE WHERE CURRENT OF to support repeated update and update- 18 years ago
Tom Lane 88ae1bd3f2 Remove an Assert that's been obsoleted by recent changes in the parsetree 18 years ago
Tom Lane 106264ca3f Teach planagg.c that partial indexes specifying WHERE foo IS NOT NULL can be 18 years ago
Tom Lane 2b0c86b665 Ensure that the result of evaluating a function during constant-expression 18 years ago
Tom Lane 82d8ab6fc4 Fix the plan-invalidation mechanism to treat regclass constants that refer to 18 years ago
Tom Lane 89db887b1e Keep the planner from failing on "WHERE false AND something IN (SELECT ...)". 19 years ago
Tom Lane cdf0231c88 Create a function variable "join_search_hook" to let plugins override the 19 years ago
Tom Lane 7125687511 Fix cost estimates for EXISTS subqueries that are evaluated as initPlans 19 years ago
Tom Lane 282d2a03dd HOT updates. When we update a tuple without changing any of its indexed 19 years ago
Tom Lane f8942f4a15 Make eval_const_expressions() preserve typmod when simplifying something like 19 years ago
Tom Lane 2abae34a2e Implement function-local GUC parameter settings, as per recent discussion. 19 years ago
Tom Lane 0ee5a39862 Apply a band-aid fix for the problem that 8.2 and up completely misestimate 19 years ago
Tom Lane b4c806faa8 Rewrite make_outerjoininfo's construction of min_lefthand and min_righthand 19 years ago
Tom Lane 67bf7b919e Make ARRAY(SELECT ...) return an empty array, rather than a NULL, when the 19 years ago
Tom Lane 507b53c833 Fix predicate-proving logic to cope with binary-compatibility cases when 19 years ago
Tom Lane d514ea3fda Fix an old thinko in SS_make_initplan_from_plan, which is used when optimizing 19 years ago
Tom Lane bc8d164d06 Fix mistaken Assert in adjust_appendrel_attr_needed, per Greg Stark. 19 years ago
Tom Lane 48d9d8e131 Fix a couple of planner bugs introduced by the new ability to discard 19 years ago