postgresql/src/include/optimizer
Tom Lane a1b7e70c5f Fix code that checks to see if an index can be considered to match the query's
requested sort order.  It was assuming that build_index_pathkeys always
generates a pathkey per index column, which was not true if implied equality
deduction had determined that two index columns were effectively equated to
each other.  Simplest fix seems to be to install an option that causes
build_index_pathkeys to support this behavior as well as the original one.
Per report from Brian Hirt.
2006-01-29 17:27:42 +00:00
..
clauses.h Allow row comparisons to be used as indexscan qualifications. 2006-01-25 20:29:24 +00:00
cost.h Teach tid-scan code to make use of "ctid = ANY (array)" clauses, so that 2005-11-26 22:14:57 +00:00
geqo.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
geqo_copy.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_gene.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_misc.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_mutation.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_pool.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_random.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_recombination.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_selection.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
joininfo.h Simplify the planner's join clause management by storing join clauses 2005-06-09 04:19:00 +00:00
pathnode.h Teach tid-scan code to make use of "ctid = ANY (array)" clauses, so that 2005-11-26 22:14:57 +00:00
paths.h Fix code that checks to see if an index can be considered to match the query's 2006-01-29 17:27:42 +00:00
plancat.h Simple constraint exclusion. For now, only child tables of inheritance 2005-07-23 21:05:48 +00:00
planmain.h Teach planner how to rearrange join order for some classes of OUTER JOIN. 2005-12-20 02:30:36 +00:00
planner.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
predtest.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
prep.h Teach planner how to rearrange join order for some classes of OUTER JOIN. 2005-12-20 02:30:36 +00:00
restrictinfo.h Restore the former RestrictInfo field valid_everywhere (but invert the flag 2005-11-14 23:54:23 +00:00
subselect.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
tlist.h Merge Resdom nodes into TargetEntry nodes to simplify code and save a 2005-04-06 16:34:07 +00:00
var.h Remove planner's private fields from Query struct, and put them into 2005-06-05 22:32:58 +00:00