Обсуждение: question about pg_proc

Поиск
Список
Период
Сортировка

question about pg_proc

От
Gevik Babakhani
Дата:
Is there a historical reason why we have a "proargtypes" and a 
"proallargtypes"?
It seems that "proallargtypes" is only set when out parameters exist.
Could someone clarify this please?

Regards,
Gevik.


Re: question about pg_proc

От
Pavel Stehule
Дата:
2009/5/23 Gevik Babakhani <pgdev@xs4all.nl>:
> Is there a historical reason why we have a "proargtypes" and a
> "proallargtypes"?

> It seems that "proallargtypes" is only set when out parameters exist.
> Could someone clarify this please?

proargtypes is used for fast simple searching function in
transformFunc stage. For this searching OUT variables are excluded.

proallargtypes is used for building OUT variables.

Look on: FuncnameGetCandidates (namespace.c)
do_compile(pl_comp.c)

Regards
Pavel Stehule

>
> Regards,
> Gevik.
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>