On Sat, 2005-07-02 at 18:29 -0400, Alvaro Herrera wrote: > On Sat, Jul 02, 2005 at 03:56:48PM -0400, Bruce Momjian wrote: > > > Simon Riggs wrote: > > > > > > I enclose a fully working implementation of Constraint Exclusion, a very > > > basic form of Partitioning. Initial review is requested, to allow us all > > > to assess what further work is required on this prior to Beta freeze. > > save a typo in a comment, it said "OR" and the code said "and" in one > of the truth tables
There is one place where I say if OR => OR then use the AND truth table, which could possible say "use the same truth table as AND". So the comment, and the code are correct there. Best Regards, Simon Riggs ---------------------------(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