I'm sorry, I forgot to mention that you must create the plpgsql language on that database before the execution of the two mentioned files. -- Leonardo Mateo. There's no place like ~