On Tue, 26 Apr 2005, Mario Soto Cordones wrote: > Hi for all , plese a question ,this function can be write in pl/pgsql ??????? No, there is no possibility write it in pl/pgsql. Pavel Stehule > ---------------------------(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