Re: Remove unused function parameters, part 1: contrib

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Remove unused function parameters, part 1: contrib
Date: 2025-11-27 11:39:39
Message-ID: CALdSSPjP3aAA1VK_abroZCs==CEdt4vAxP4a0r920Y1ev01jAQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 27 Nov 2025 at 11:57, Bertrand Drouvot
<bertranddrouvot(dot)pg(at)gmail(dot)com> wrote:
>
> Hi hackers,
>
> PFA patches to remove unused function parameters in contrib (more patches will
> come for non contrib).
>
> The patches are split by modules to ease the review.
>
> For 0005 (collid not used in internal_citext_pattern_cmp()) I think that the
> unused column should be used (as done in 0005) due to an oversight in commit
> f2464997644c.
>
> This has been done with the help of a coccinelle script. It needs more polishing,
> so will share later.
>
> Regards,
>
> --
> Bertrand Drouvot
> PostgreSQL Contributors Team
> RDS Open Source Databases
> Amazon Web Services: https://aws.amazon.com

Hi!
Regarding 0005. collid arg was not used, and nobody ever compiled,
and then we want to make a change in citext_pattern_cmp behaviour. I
think we need to at least exercise this code in regression tests.

--
Best regards,
Kirill Reshke

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Soumya S Murali 2025-11-27 11:39:49 Re: [PATCH] Expose checkpoint timestamp and duration in pg_stat_checkpointer
Previous Message shveta malik 2025-11-27 11:03:11 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart