Re: flinfo NULL in DirectFunctionCall callee?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: flinfo NULL in DirectFunctionCall callee?
Date: 2019-08-26 18:34:07
Message-ID: 11681.1566844447@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com> writes:
> On Mon, Aug 26, 2019 at 8:12 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Howard Wells 2019-08-26 20:07:15 Re: Postgres SQLSTATE[08006] [7] timeout expired
Previous Message Shaozhong SHI 2019-08-26 18:08:11 How to set up PostGIS to support ArcGIS, MapInfo and QGIS desktop users?