Re: flinfo NULL in DirectFunctionCall callee? - Mailing list pgsql-general

From Tom Lane
Subject Re: flinfo NULL in DirectFunctionCall callee?
Date
Msg-id 11681.1566844447@sss.pgh.pa.us
Whole thread Raw
In response to flinfo NULL in DirectFunctionCall callee?  (Paul A Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-general
Paul A Jungwirth <pj@illuminatedcomputing.com> writes:
> On Mon, Aug 26, 2019 at 8:12 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Yes, per the comment on those functions:
>> * These are for invocation of a specifically named function with a
>> * directly-computed parameter list.  Note that neither arguments nor result
>> * are allowed to be NULL.  Also, the function cannot be one that needs to
>> * look at FmgrInfo, since there won't be any.

> Thanks Tom! Alas I saw that same comment in fmgr.h but it was missing
> the last sentence.

Oh, hm, that's not very nice.  Fixed.

> Would you like a patch updating it there? Is that
> the kind of thing you make CF entries for?

Not really worth the overhead, for something as simple as this.

            regards, tom lane



pgsql-general by date:

Previous
From: Shaozhong SHI
Date:
Subject: How to set up PostGIS to support ArcGIS, MapInfo and QGIS desktop users?
Next
From: Howard Wells
Date:
Subject: Re: Postgres SQLSTATE[08006] [7] timeout expired