pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove check for NULL in STRICT function
Date: Thu, 02 Oct 2025 21:05:15 +0000
Message-ID: <E1v4QUF-0019W2-0i@gemulon.postgresql.org> (raw)

Remove check for NULL in STRICT function

test_bms_make_singleton is defined as STRICT and only takes a single
parameter, so there is no need to check that parameter for NULL as a
NULL input won't ever reach there.

Author: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/BC483901-9587-4076-B20F-9A414C66AB78@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/381f5cffae0040a402e082adc5d5e7636035d2a7

Modified Files
--------------
src/test/modules/test_bitmapset/test_bitmapset.c | 3 ---
1 file changed, 3 deletions(-)



Message-ID: <E1v4QUF-0019W2-0i@gemulon.postgresql.org>
Permalink:  ../E1v4QUF-0019W2-0i@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v4QUF-0019W2-0i@gemulon.postgresql.org

 · 

reply

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: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove check for NULL in STRICT function
  In-Reply-To: <E1v4QUF-0019W2-0i@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