pgsql: Remove dead code

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove dead code
Date: 2024-08-12 07:00:31
Message-ID: E1sdP2d-003omu-CZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove dead code

After e9931bfb751, the locale argument of SB_lower_char() is never
NULL, so the branch that deals with NULL can be removed (similar to
how e9931bfb751 for example removed those branches in str_tolower()).

Reviewed-by: Jeff Davis <pgsql(at)j-davis(dot)com>
Discussion: https://www.postgresql.org/message-id/4f562d84-87f4-44dc-8946-01d6c437936f@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4eb5089e26848ecb71f9e15086e4064597108564

Modified Files
--------------
src/backend/utils/adt/like.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-08-12 07:04:58 pgsql: Consolidate postmaster code to launch background processes
Previous Message Peter Eisentraut 2024-08-12 06:36:18 pgsql: Remove fe_memutils from libpgcommon_shlib