pgsql: Harmonize lexer adjacent function parameter names.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Harmonize lexer adjacent function parameter names.
Date: 2022-09-21 20:23:31
Message-ID: E1ob6Fm-001OOD-Hu@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Harmonize lexer adjacent function parameter names.

Make sure that function declarations use names that exactly match the
corresponding names from function definitions for several "lexer
adjacent" backend functions.

These functions were missed by recent commits because they were obscured
by clang-tidy warnings about functions whose signature is directly under
the control of the lexer (flex seems to always generate function
declarations with unnamed parameters). We probably can't fix most of
the warnings it generates for translation units that get built from .l
and .y files, but we can at least do this much.

Author: Peter Geoghegan <pg(at)bowt(dot)ie>
Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aab06442d488364f8861219cb8864a16b6d0d4e4

Modified Files
--------------
src/bin/pgbench/exprparse.y | 2 +-
src/include/replication/syncrep.h | 2 +-
src/include/replication/walsender_private.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2022-09-21 23:36:52 pgsql: ci: Increase requested memory size.
Previous Message Tom Lane 2022-09-21 19:42:19 pgsql: Fix configure's AC_CHECK_DECLS tests to work correctly with clan