Skip site navigation (1) Skip section navigation (2)

pgsql: Do not use the variable name when defining a varchar structurei

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Do not use the variable name when defining a varchar structurei
Date: 2012-02-13 15:08:22
Message-ID: E1RwxVu-0001Xy-04@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9a4880a0dd3cc94770aae2d372302642990c9fc1

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

Next:From: Bruce MomjianDate: 2012-02-14 02:48:53
Subject: pgsql: Improve labeling of pg_test_fsync open_sync test output.
Previous:From: Michael MeskesDate: 2012-02-13 15:08:21
Subject: pgsql: Do not use the variable name when defining a varchar structurei

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group