Hello, how can I return setof rows in plpython language? I read the manual and couldn't find. Mage ---------------------------(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