pgsql: Do not use the variable name when defining a varchar structure i - Mailing list pgsql-committers

From Michael Meskes
Subject pgsql: Do not use the variable name when defining a varchar structure i
Date
Msg-id E1RwxVt-0001Y2-Uv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Do not use the variable name when defining a varchar structure in ecpg.

With a unique counter being added anyway, there is no need anymore to have the variable name listed, too.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ebc37d6924df785f3601f135c9c900fd7ec465c7

Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.trailer           |    4 ++--
src/interfaces/ecpg/preproc/type.c                 |   13 +++----------
src/interfaces/ecpg/preproc/type.h                 |    1 -
.../ecpg/test/expected/preproc-array_of_struct.c   |   14 +++++++-------
src/interfaces/ecpg/test/expected/preproc-cursor.c |   20 ++++++++++----------
src/interfaces/ecpg/test/expected/preproc-type.c   |    4 ++--
.../ecpg/test/expected/preproc-variable.c          |    8 ++++----
src/interfaces/ecpg/test/preproc/type.pgc          |    2 +-
8 files changed, 29 insertions(+), 37 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Fix auto-explain JSON output to be valid JSON.
Next
From: Michael Meskes
Date:
Subject: pgsql: Do not use the variable name when defining a varchar structure i