pgsql: Tidy-up unneeded NULL parameter checks from SQL function - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Tidy-up unneeded NULL parameter checks from SQL function
Date
Msg-id E1v4cf9-001FLt-0b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Fix reuse-after-free hazard in dead_items_reset
Next
From: Nathan Bossart
Date:
Subject: pgsql: Make some use of anonymous unions [DSM registry].