pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove dead code
Date: Mon, 12 Aug 2024 07:00:31 +0000
Message-ID: <E1sdP2d-003omu-CZ@gemulon.postgresql.org> (raw)

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@j-davis.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(-)



view thread (10+ messages)  latest in thread

Message-ID: <E1sdP2d-003omu-CZ@gemulon.postgresql.org>
Permalink:  ../E1sdP2d-003omu-CZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sdP2d-003omu-CZ@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove dead code
  In-Reply-To: <E1sdP2d-003omu-CZ@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