Re: A small bug in gram.y - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: A small bug in gram.y
Date
Msg-id 4AF016FE020000250002C1CB@gw.wicourts.gov
Whole thread Raw
In response to Re: A small bug in gram.y  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@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


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: EOL for 7.4?
Next
From: Simon Riggs
Date:
Subject: Re: EOL for 7.4?