Tom Lane <t...@sss.pgh.pa.us> wrote:
 
>           select nosuchfunction(1,2,3,avalidfunction(4));
>                ^
> 
>           select nosuchfunction(1,2,3,avalidfunction(4));
>                                                      ^
> 
> Which of these is less likely to be misread about which function is
> being complained of?
 
Actually, I much prefer what PostgreSQL does.  :-)
 
ERROR:  function nosuchfunction(integer, integer, integer, integer)
does not exist
LINE 1: select nosuchfunction(1,2,3,avalidfunction(4));
               ^
HINT:  No function matches the given name and argument types. You
might need to add explicit type casts.
 
But, anyway, point taken.
 
-Kevin

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to