Re: table functions

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Eric B(dot)Ridge" <ebr(at)tcdi(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: table functions
Date: 2002-12-09 20:57:45
Message-ID: 3DF503C9.1040005@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jco 2002-12-09 21:23:33 Is NULL equal to NULL or not?
Previous Message Bruce Momjian 2002-12-09 20:57:41 Re: doc fix for OS/X (was: 7.3 on OS X HOWTO)