Re: Function parameter names
| От | Tom Lane |
|---|---|
| Тема | Re: Function parameter names |
| Дата | |
| Msg-id | 28726.1069614797@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Function parameter names (Dennis Bjorklund <db@zigo.dhs.org>) |
| Ответы |
Re: Function parameter names
|
| Список | pgsql-hackers |
Dennis Bjorklund <db@zigo.dhs.org> writes:
> And the cost will be fairly large for named parameters as well then. On
> the other hand, if one omits the parameter names one would get almost the
> same speed as before (an extra test is needed to see if we have any
> parameter names that needs to be setup before the language handler is
> called).
I see absolutely no need for the call path to do anything with this
stuff before it reaches the language handler. All the handlers fetch
the pg_proc tuple anyway, and are perfectly capable of extracting the
parameter names for themselves if they want to.
regards, tom lane
В списке pgsql-hackers по дате отправления: