From: Laurenz Albe <laurenz.albe@cybertec.at>
To: mrechte@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: 37.10.3
Date: Fri, 13 Mar 2020 00:30:20 +0100
Message-ID: <097245d95a9dc77a1f497f6d1c63b5fe1f77fad0.camel@cybertec.at> (raw)
In-Reply-To: <158399487096.5708.10696365251766477013@wrigleys.postgresql.org>
References: <158399487096.5708.10696365251766477013@wrigleys.postgresql.org>
On Thu, 2020-03-12 at 06:34 +0000, PG Doc comments form wrote:
> There is mention to macro PG_ARGNULL_xxx() which I cannot locate. Aren't you
> talking of PG_ARGISNULL(n) ?
Indeed.
Here is a patch for that.
Yours,
Laurenz Albe
Attachments:PG_ARGISNULL.doc.patch (text/x-patch, 729B) downloaddiff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgmlindex d9afd3be4d..7c3cfb0115 100644--- a/doc/src/sgml/xfunc.sgml+++ b/doc/src/sgml/xfunc.sgml@@ -2241,7 +2241,7 @@ PG_FUNCTION_INFO_V1(funcname);
<function>PG_GETARG_<replaceable>xxx</replaceable>()</function>
macro that corresponds to the argument's data type. In non-strict
functions there needs to be a previous check about argument null-ness
- using <function>PG_ARGNULL_<replaceable>xxx</replaceable>()</function>.+ using <function>PG_ARGISNULL_<replaceable>xxx</replaceable>()</function>.
The result is returned using a
<function>PG_RETURN_<replaceable>xxx</replaceable>()</function>
macro for the return type.
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: laurenz.albe@cybertec.at, mrechte@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: 37.10.3
In-Reply-To: <097245d95a9dc77a1f497f6d1c63b5fe1f77fad0.camel@cybertec.at>
* 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