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

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [HACKERS] functions with same name, different args
Дата
Msg-id 34CEE009.9560B0E5@alumni.caltech.edu
обсуждение исходный текст
Ответ на functions with same name, different args  (Brett McCormick <brett@abraxas.scene.com>)
Ответы Re: [HACKERS] functions with same name, different args  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] No: implied sort with group by
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Re: Re: [PORTS] the 'money' type