pgsql: Harmonize lexer adjacent function parameter names. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Harmonize lexer adjacent function parameter names.
Date
Msg-id E1ob6Fm-001OOD-Hu@gemulon.postgresql.org
Whole thread Raw
List 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@bowt.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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix configure's AC_CHECK_DECLS tests to work correctly with clan
Next
From: Thomas Munro
Date:
Subject: pgsql: ci: Increase requested memory size.