From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Tidy-up unneeded NULL parameter checks from SQL function
Date: Fri, 03 Oct 2025 10:05:19 +0000
Message-ID: <E1v4cf9-001FLt-0b@gemulon.postgresql.org> (raw)
Tidy-up unneeded NULL parameter checks from SQL function
This function is marked as strict, so we can safely remove the checks
checking for NULL input parameters.
Author: David Rowley <dgrowleyml@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAApHDvqiN0+mbooUOSCDALc=GoM8DmTbCdvwnCwak6Wb2O1ZJA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a69b55cd47274d897f4d92c466bfda461c9acfda
Modified Files
--------------
src/test/modules/test_bitmapset/test_bitmapset.c | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
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-committers@postgresql.org
Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Tidy-up unneeded NULL parameter checks from SQL function
In-Reply-To: <E1v4cf9-001FLt-0b@gemulon.postgresql.org>
* 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