Do not use the variable name when defining a varchar structure in ecpg.
Michael Meskes <meskes@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/preproc/ecpg.trailer | modified | +2 −2 |
| src/interfaces/ecpg/preproc/type.c | modified | +3 −10 |
| src/interfaces/ecpg/preproc/type.h | modified | +0 −1 |
| src/interfaces/ecpg/test/expected/preproc-array_of_struct.c | modified | +7 −7 |
| src/interfaces/ecpg/test/expected/preproc-cursor.c | modified | +10 −10 |
| src/interfaces/ecpg/test/expected/preproc-type.c | modified | +2 −2 |
| src/interfaces/ecpg/test/expected/preproc-variable.c | modified | +4 −4 |
| src/interfaces/ecpg/test/preproc/type.pgc | modified | +1 −1 |