"Sergey Moroz" <smo@xxxxxxxx> writes: > So I wonder why doesn't postgres store hashes for all queries and > misses parsing step if not needed like Oracle does? Because we think it's a waste of cycles, not to mention storage. 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