Re: overloaded function question

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: overloaded function question
Date: 2003-01-25 19:54:37
Message-ID: 20030125195437.GA8762@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Jan 25, 2003 at 11:26:41 -0800,
Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> wrote:
> On Sat, 25 Jan 2003, Bruno Wolff III wrote:
>
> Since int4 can implicitly convert to text and float8, I think cube(int4)
> is ambiguous. cube(float4) probably will fail as well.

I was just playing with this a bit more, and that is what I was going to ask
next.

I guess for the regression tests I will just use a cast so that things
work as is in 7.4.

If someone eventually comes up with the system for picking the cast chain that
you want automagically, maybe it won't be necessary anymore.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2003-01-25 20:41:13 Re: pg_dump automatic
Previous Message Stephan Szabo 2003-01-25 19:26:41 Re: overloaded function question