Remove unused function parameters, part 1: contrib

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Remove unused function parameters, part 1: contrib
Date: 2025-11-27 08:57:47
Message-ID: aSgSi1Ut8yjPohYB@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Removing-unused-function-parameters-in-btree_gist.patch text/x-diff 1.9 KB
v1-0002-Removing-unused-function-parameters-in-pgcrypto.patch text/x-diff 3.4 KB
v1-0003-Removing-unused-function-parameters-in-file_fdw.patch text/x-diff 1.8 KB
v1-0004-Removing-unused-function-parameters-in-postgres_f.patch text/x-diff 5.2 KB
v1-0005-collid-not-used-in-internal_citext_pattern_cmp.patch text/x-diff 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2025-11-27 09:00:30 Re: Move WAL/RMGR sequence code into its own file and header
Previous Message Sergei Glukhov 2025-11-27 08:39:34 Re: Partial hash index is not used for implied qual.