question about pg_proc

Started by Gevik Babakhaniover 16 years ago2 messages
#1Gevik 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?

Regards,
Gevik.

#2Pavel Stehule
pavel.stehule@gmail.com
In reply to: Gevik Babakhani (#1)
Re: question about pg_proc

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

Show quoted text

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