Tom Lane wrote:
> src/backend/utils/fmgr/README has
>
> : If the function is being called as a table function (ie, it appears in a
> : FROM item), then the expected tuple descriptor is passed in ReturnSetInfo;
> : in other contexts the expectedDesc field will be NULL. The function need
> : not pay attention to expectedDesc, but it may be useful in special cases.
>
> Someday that README should be rewritten and merged into the SGML
> programmer's guide. Right now, it's essential reading for backend
> function authors.
I remember that now. I think I even indicated that I would do the merging into
the programmers guide -- I guess I better get busy :-)
Joe