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_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/421513ba84a0efb4a6690c5a2e1062947804e4d3
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(-)