Oh, I'm so very ashamed of my self. I did \df and didn't find the function in the list. Ohh.. I'm so very embarresd... STUPID me.... I was so very certain that I did run the CREATE command to create the function that it didn't even occur to me that I didn't run it. Well, problem solved.. :-$ Thanks, sorry for bothering you with this.