Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2Joj-00007Z-Ox for pgsql-general@arkaria.postgresql.org; Mon, 26 Aug 2019 18:34:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2Joi-0001UN-Gq for pgsql-general@arkaria.postgresql.org; Mon, 26 Aug 2019 18:34:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2Joi-0001Ag-0Z for pgsql-general@lists.postgresql.org; Mon, 26 Aug 2019 18:34:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i2Jof-0003iQ-Je for pgsql-general@lists.postgresql.org; Mon, 26 Aug 2019 18:34:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x7QIY7jn011682; Mon, 26 Aug 2019 14:34:07 -0400 From: Tom Lane To: Paul A Jungwirth cc: pgsql-general@lists.postgresql.org Subject: Re: flinfo NULL in DirectFunctionCall callee? In-reply-to: References: <31067.1566832318@sss.pgh.pa.us> Comments: In-reply-to Paul A Jungwirth message dated "Mon, 26 Aug 2019 10:41:15 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11680.1566844447.1@sss.pgh.pa.us> Date: Mon, 26 Aug 2019 14:34:07 -0400 Message-ID: <11681.1566844447@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Paul A Jungwirth writes: > On Mon, Aug 26, 2019 at 8:12 AM Tom Lane 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