pgsql: Remove check for NULL in STRICT function

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove check for NULL in STRICT function
Date: 2025-10-02 21:05:15
Message-ID: E1v4QUF-0019W2-0i@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)yesql(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-10-03 00:59:45 pgsql: Add IGNORE NULLS/RESPECT NULLS option to Window functions.
Previous Message Andrew Dunstan 2025-10-02 18:28:44 pgsql: Improve docs syntax checking