Re: [HACKERS] functions with same name, different args

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Brett McCormick <brett(at)abraxas(dot)scene(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] functions with same name, different args
Date: 1998-01-28 07:36:41
Message-ID: 34CEE009.9560B0E5@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I notice that all the functions with the same name but different args
> are actually sql statements which SELECT the result of the function
> call using a different (and unique) name..
>
> Wouldn't this cause slowdowns? Shouldn't you be able to have a
> different name for your function in pgsql than in the shared library,
> without having to resort to such hacks?

Actually, we were pretty happy when Edmund Mergl found this mechanism.
I've thought about making changes to allow compiled code to do the same
thing, but we've had other more important issues to work on. Send
patches if you want something different.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-01-28 07:47:21 Re: [HACKERS] Re: Re: [PORTS] the 'money' type
Previous Message Thomas G. Lockhart 1998-01-28 07:33:40 Re: [HACKERS] No: implied sort with group by