Re: A small bug in gram.y

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>, "Gokulakannan Somasundaram" <gokul007(at)gmail(dot)com>, "pgsql-hackers list" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A small bug in gram.y
Date: 2009-11-03 17:41:50
Message-ID: 4AF016FE020000250002C1CB@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-11-03 17:58:10 Re: EOL for 7.4?
Previous Message Andrew Dunstan 2009-11-03 17:32:01 Re: EOL for 7.4?