Harmonizing pg_bsd_indent parameter names

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Harmonizing pg_bsd_indent parameter names
Date: 2024-06-12 21:14:44
Message-ID: CAH2-WzkaBS8w-vCbG5M5Bx7XikC0WhNLJV_+Z_YAWW9Kef6OBQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached patch harmonizes pg_bsd_indent's function parameter names, so
that they match the names used in corresponding function definitions.

I have been putting this off because I wasn't sure that the policy
should be the same for pg_bsd_indent. Is there any reason to think
that this will create more work down the line? It seems like it might,
due to some kind of need to keep pg_bsd_indent's consistent with
upstream BSD indent. But probably not. The patch is pretty small, in
any case.

I'd like to push this patch now. It's generally easier to be strict
about these inconsistencies. My clang-tidy workflow doesn't
automatically filter out various special cases requiring subjective
judgement, so leaving stuff like this unfixed creates more work down
the road.

--
Peter Geoghegan

Attachment Content-Type Size
0001-Fixup-pg_bsd_indent-inconsistencies.patch application/octet-stream 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-06-12 21:32:54 Re: Harmonizing pg_bsd_indent parameter names
Previous Message Nathan Bossart 2024-06-12 21:04:06 Re: Allow non-superuser to cancel superuser tasks.