On Tue, 26 Apr 2005, Mario Soto Cordones wrote: > Hi for all , plese a question ,this function can be write in pl/pgsql ??????? > I am sorry. Universal handler for immutable attributes is not possible in plpgsql. Only if you know names of immutable columns, than you can use plpgsql. You have to use plperl, pltcl else. Regards 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