diff options
author | Michael Meskes <meskes@postgresql.org> | 2010-03-09 11:09:46 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2010-03-09 11:09:46 +0000 |
commit | 600be01e896a981390f6f74cd09de674d754071f (patch) | |
tree | 55d92d74d441535b47691a19bd969bfbcd2191e6 /src/interfaces/ecpg/test/preproc/variable.pgc | |
parent | 6fcd5010e27348541a16a164988ef6a8a8ad9bcc (diff) | |
download | postgresql-600be01e896a981390f6f74cd09de674d754071f.tar.gz postgresql-600be01e896a981390f6f74cd09de674d754071f.zip |
ecpg now adds a unique counter to its varchar struct definitions to make these definitions unique, too. It used to use the linenumber but in the rare case of two definitions in one line this was not unique.
Diffstat (limited to 'src/interfaces/ecpg/test/preproc/variable.pgc')
-rw-r--r-- | src/interfaces/ecpg/test/preproc/variable.pgc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/test/preproc/variable.pgc b/src/interfaces/ecpg/test/preproc/variable.pgc index dcc575f8b4b..71efa0ddaf1 100644 --- a/src/interfaces/ecpg/test/preproc/variable.pgc +++ b/src/interfaces/ecpg/test/preproc/variable.pgc @@ -29,6 +29,7 @@ exec sql begin declare section; struct birthinfo ind_birth; } ind_personal, *i; ind ind_children; + struct t1 { str name; }; struct t2 { str name; }; exec sql end declare section; exec sql char *married = NULL; |