Kevin Murphy <murphy@xxxxxxxxxxxxxxx> writes: > ... In the following query, PG treats the phrase "and chromosome > = chromosome" as "and genetic.chromosome = genetic.chromosome". And that surprises you why? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match