On Fri, Jun 13, 2008 at 06:11:43PM -0700, Ralph Smith wrote: > I get: > ERROR: cannot change return type of existing function > HINT: Use DROP FUNCTION first. Don't use CREATE OR REPLACE for the second one. The OR REPLACE is trying to replace a function of the same name. A -- Andrew Sullivan ajs@xxxxxxxxxxxxxxxxx +1 503 667 4564 x104 http://www.commandprompt.com/