Re: question about pg_proc - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: question about pg_proc
Date
Msg-id 162867790905222218k60cec400lbe36237d4bc5b9f7@mail.gmail.com
Whole thread Raw
In response to question about pg_proc  (Gevik Babakhani <pgdev@xs4all.nl>)
List pgsql-hackers
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
>


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: RFD: Discarded tuple count for SeqScan nodes in EXPLAIN ANALYZE
Next
From: Honda Shigehiro
Date:
Subject: Re: patch for ja.po