Thanks, it's a good idea. Someone can help me with the two others question (the index and the update of the structure of the table) ?
---------------------------(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