"Roger" <[EMAIL PROTECTED]> writes:
> Description:        Pgsql does not report non existing function

Works fine for me:

regression=# create function foo() returns int as $$
regression$# declare x int;
regression$# begin 
regression$#   x := nosuchfunc(42);
regression$# end$$ language plpgsql;
CREATE FUNCTION
regression=# select foo();
ERROR:  function nosuchfunc(integer) does not exist
LINE 1: SELECT  nosuchfunc(42)
                ^
HINT:  No function matches the given name and argument types. You might need to 
add explicit type casts.
QUERY:  SELECT  nosuchfunc(42)
CONTEXT:  PL/pgSQL function "foo" line 3 at assignment
regression=#

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

Reply via email to