Thread: question about pg_proc

question about pg_proc

From
Gevik Babakhani
Date:
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

From
Pavel Stehule
Date:
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
>