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