From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul A Jungwirth <pj@illuminatedcomputing.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: flinfo NULL in DirectFunctionCall callee?
Date: Mon, 26 Aug 2019 14:34:07 -0400
Message-ID: <11681.1566844447@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+renyU_J8TU_d3Kr0PkuOgFbpypextendu7a+_d5NOfVdvDeA@mail.gmail.com>
References: <CA+renyUeS3vBGxur6-eZ5YCy_XKK7sFRG77DJezSMxrpeJ-9ag@mail.gmail.com>
<31067.1566832318@sss.pgh.pa.us>
<CA+renyU_J8TU_d3Kr0PkuOgFbpypextendu7a+_d5NOfVdvDeA@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, pj@illuminatedcomputing.com
Subject: Re: flinfo NULL in DirectFunctionCall callee?
In-Reply-To: <11681.1566844447@sss.pgh.pa.us>
References: <CA+renyUeS3vBGxur6-eZ5YCy_XKK7sFRG77DJezSMxrpeJ-9ag@mail.gmail.com> <31067.1566832318@sss.pgh.pa.us> <CA+renyU_J8TU_d3Kr0PkuOgFbpypextendu7a+_d5NOfVdvDeA@mail.gmail.com> <11681.1566844447@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox