pgsql: Harmonize parameter names in ecpg code.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Harmonize parameter names in ecpg code.
Date: 2022-09-22 19:54:05
Message-ID: E1obSGr-001YDO-0i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Harmonize parameter names in ecpg code.

Make ecpg function declarations consistently use named parameters. Also
make sure that the declarations use names that match corresponding names
from function definitions.

Like other recent commits that cleaned up function parameter names, this
commit was written with help from clang-tidy.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3535ebce5dc542b90f14d6e81cce80fe7226bda5

Modified Files
--------------
src/interfaces/ecpg/ecpglib/ecpglib_extern.h | 78 ++++++++++++--------
src/interfaces/ecpg/include/ecpg_informix.h | 82 +++++++++++-----------
src/interfaces/ecpg/include/ecpglib.h | 60 +++++++++-------
src/interfaces/ecpg/include/pgtypes_date.h | 20 +++---
src/interfaces/ecpg/include/pgtypes_interval.h | 8 +--
src/interfaces/ecpg/include/pgtypes_numeric.h | 36 +++++-----
src/interfaces/ecpg/include/pgtypes_timestamp.h | 12 ++--
src/interfaces/ecpg/pgtypeslib/dt.h | 22 +++---
src/interfaces/ecpg/pgtypeslib/pgtypeslib_extern.h | 8 ++-
src/interfaces/ecpg/preproc/c_keywords.c | 8 +--
src/interfaces/ecpg/preproc/ecpg.header | 2 +-
src/interfaces/ecpg/preproc/output.c | 2 +-
src/interfaces/ecpg/preproc/pgc.l | 2 +-
src/interfaces/ecpg/preproc/preproc_extern.h | 63 ++++++++++-------
src/interfaces/ecpg/preproc/type.c | 2 +-
src/interfaces/ecpg/preproc/type.h | 27 ++++---
.../ecpg/test/expected/preproc-outofscope.c | 36 +++++-----
src/interfaces/ecpg/test/expected/sql-sqlda.c | 36 +++++-----
18 files changed, 271 insertions(+), 233 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2022-09-22 20:28:02 pgsql: Harmonize more lexer function parameter names.
Previous Message Jeff Davis 2022-09-22 18:45:36 pgsql: Fix race condition where heap_delete() fails to pin VM page.