sorry for posting that, i already found anwser. but i wonder if client encoding will be enought to make changes i want to.. ---------------------------(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