Re: table functions - Mailing list pgsql-general

From Joe Conway
Subject Re: table functions
Date
Msg-id 3DF503C9.1040005@joeconway.com
Whole thread Raw
In response to Re: table functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: 7.3 no longer using indexes for LIKE queries
Next
From: jco@cornelius-olsen.dk
Date:
Subject: Is NULL equal to NULL or not?