"D'Arcy J.M. Cain" <darcy@druid.net> writes: > How about a rule that says no new ode without a test?
We've got way too many tests like that already, ie, a bunch of mostly-redundant functional tests of isolated new features. Most of the code I worry about there isn't any simple way to test from the SQL level --- the fact that a query gives the right answer doesn't prove it went through a particular part of the planner, for example. I think we need some intelligent test design, not tests thrown in to meet a rule. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match