aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/preproc/variable.pgc
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2010-03-09 11:09:46 +0000
committerMichael Meskes <meskes@postgresql.org>2010-03-09 11:09:46 +0000
commit600be01e896a981390f6f74cd09de674d754071f (patch)
tree55d92d74d441535b47691a19bd969bfbcd2191e6 /src/interfaces/ecpg/test/preproc/variable.pgc
parent6fcd5010e27348541a16a164988ef6a8a8ad9bcc (diff)
downloadpostgresql-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.pgc1
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;