Commit Graph

576 Commits (99848ed7cb06ca14ee06bfa5b521c43ea63001a2)

Author SHA1 Message Date
Tom Lane 22d9ddbb35 Fix planner to make a reasonable assumption about the amount of memory space 16 years ago
Tom Lane d4d32eefdf Fix "cannot handle unplanned sub-select" error that can occur when a 16 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 16 years ago
Tom Lane d174a4adbb Fix "constraint_exclusion = partition" logic so that it will also attempt 16 years ago
Tom Lane b78f6264eb Rework join-removal logic as per recent discussion. In particular this 16 years ago
Tom Lane a836abe9f6 Modify error context callback functions to not assume that they can fetch 16 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Tom Lane 99419d36f2 Allow predicate_refuted_by() to deduce that NOT A refutes A. 16 years ago
Robert Haas e26c539e9f Wrap calls to SearchSysCache and related functions using macros. 16 years ago
Tom Lane 85b587c259 Fix thinko in my recent change to put an explicit argisrow field in NullTest: 17 years ago
Robert Haas d86d51a958 Support ALTER TABLESPACE name SET/RESET ( tablespace_options ). 17 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 17 years ago
Tom Lane 7839d35991 Add an "argisrow" field to NullTest nodes, following a plan made way back in 17 years ago
Tom Lane d4d1885e42 Remove a couple of unnecessary calls of CreateCacheMemoryContext. These 17 years ago
Tom Lane 34d26872ed Support ORDER BY within aggregate function calls, at long last providing a 17 years ago
Tom Lane a620d5005d Fix a bug introduced when set-returning SQL functions were made inline-able: 17 years ago
Tom Lane 1a95f12702 Eliminate a lot of list-management overhead within join_search_one_level 17 years ago
Tom Lane caf9c830d9 Improve planning of Materialize nodes inserted atop the inner input of a 17 years ago
Tom Lane 0adaf4cb31 Move the handling of SELECT FOR UPDATE locking and rechecking out of 17 years ago
Tom Lane 717fa274d1 Support use of function argument names to identify which actual arguments 17 years ago
Tom Lane 488d70ab46 Implement "join removal" for cases where the inner side of a left join 17 years ago
Tom Lane 9bb342811b Rewrite the planner's handling of materialized plan types so that there is 17 years ago
Tom Lane 31d1f23302 Teach simplify_boolean_equality to simplify the forms foo <> true and 17 years ago
Peter Eisentraut de160e2c00 Make backend header files C++ safe 17 years ago
Tom Lane 9b27eab71c Fix set_append_rel_pathlist() to deal intelligently with cases where 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 0ada559187 Do some minor code refactoring in preparation for changing the APIs of 17 years ago
Tom Lane 6480c143ee Partially revert my patch of 2008-11-12 that installed a limit on the number 17 years ago
Tom Lane 723476c72e Make a marginal performance improvement in predicate_implied_by and 17 years ago
Tom Lane 8dcf18414b Fix cost_nestloop and cost_hashjoin to model the behavior of semi and anti 17 years ago
Tom Lane 1d97c19a0f Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from 17 years ago
Tom Lane d7a6a04dc7 Fix planner to restore its previous level of intelligence about pushing 17 years ago
Tom Lane f38fbf31f5 If we expect a hash join to be performed in multiple batches, suppress 17 years ago
Tom Lane 00ce73778b Teach the planner to support index access methods that only implement 17 years ago
Tom Lane f01313bc0d Improve create_unique_path to not be fooled by unrelated clauses that happen 17 years ago
Tom Lane e549722a8b Get rid of the rather fuzzily defined FlattenedSubLink node type in favor of 17 years ago
Tom Lane ce6e31de9c Teach the planner to treat a partial unique index as proving a variable is 17 years ago
Tom Lane c473d92351 Fix cost_mergejoin's failure to adjust for rescanning of non-unique merge join 17 years ago
Tom Lane d04db37072 Arrange for function default arguments to be processed properly in expressions 18 years ago
Tom Lane 445ce15702 Create a third option named "partition" for constraint_exclusion, and make it 18 years ago
Tom Lane 10374a34c6 Fix an oversight in the function-default-arguments patch: after adding some 18 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 18 years ago
Tom Lane 95b07bc7f5 Support window functions a la SQL:2008. 18 years ago
Tom Lane 517ae4039e Code review for function default parameters patch. Fix numerous problems as 18 years ago
Tom Lane e7d8bfb934 Arrange to cache the results of looking up a btree predicate proof comparison 18 years ago
Tom Lane fdf8d0624a In predtest.c, install a limit on the number of branches we will process in 18 years ago
Tom Lane 31468d05d8 Dept of better ideas: refrain from creating the planner's placeholder_list 18 years ago
Tom Lane e6ae3b5dbf Add a concept of "placeholder" variables to the planner. These are variables 18 years ago
Tom Lane 76e6602417 Improve the recently-added code for inlining set-returning functions so that 18 years ago
Tom Lane bf461538e1 When expanding a whole-row Var into a RowExpr during ResolveNew(), attach 18 years ago