Re: functional index arg matching patch

From: "Mark Hollomon" <mhh(at)nortelnetworks(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: functional index arg matching patch
Date: 2000-08-22 12:43:03
Message-ID: 39A27557.93AD0B72@americasm01.nt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
>
> "Mark Hollomon" <mhh(at)nortelnetworks(dot)com> writes:
> > Tom Lane wrote:
> >> Um, thanks for working on this, but I already fixed that...
>
> > When? A message you sent on 8-11 indicated it wasn't.
>
> (Checks CVS) ... yesterday, actually.

Yea, I saw it when a refreshed last night.

>
> > I'll be interested in seeing how you did it.
>
> I just called the ambiguous-function-name-resolution code in
> parse_func.c and then checked to make sure it hadn't selected
> something the executor wasn't prepared to cope with --- ie,
> functions requiring runtime conversions of input data types.
>
> It looked like you had copied out a bunch of the parse_func.c code,
> which is OK in the short run but the duplicated code might be
> a headache to keep in sync later on.
>

I had thought about doing it the way you did, but didn't know the
consequences of some of the other coersions that parse_func.c
tried to do. My guess that it wasn't harmless was correct judging from
your code.

--

Mark Hollomon
mhh(at)nortelnetworks(dot)com
ESN 451-9008 (302)454-9008

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2000-08-22 12:57:22 Re: Re: lost records --- problem identified!
Previous Message Oleg Bartunov 2000-08-22 12:31:13 Re: LIKE gripes (and charset docs)

Browse pgsql-patches by date

  From Date Subject
Next Message Brook Milligan 2000-08-22 18:40:21 when does CREATE VIEW not create a view?
Previous Message Tom Lane 2000-08-22 03:45:09 Re: functional index arg matching patch