Hi, I created a function called "isnull" for test purposes and when trying to replace it returns the message belows :
-- Function: public.isnull(anyelement) -- DROP FUNCTION public.isnull(anyelement); CREATE OR REPLACE FUNCTION public.isnull(anyelement) RETURNS bool AS ' SELECT $1 is null; ' LANGUAGE 'sql' VOLATILE; ERROR: syntax error at or near "isnull" at character 120 Thanks. _______________________________________________________ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! http://br.acesso.yahoo.com/ ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html