aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-array.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2008-11-11 11:41:24 +0000
committerMichael Meskes <meskes@postgresql.org>2008-11-11 11:41:24 +0000
commitc7f5c7c128c4a17aa0fb8b787b20a21b180c8c1d (patch)
treea2cf2be88c468be3271738af0f7243729e823249 /src/interfaces/ecpg/test/expected/sql-array.c
parent3be2448525e9b66205bfcb0ebfeca54137a0cada (diff)
downloadpostgresql-c7f5c7c128c4a17aa0fb8b787b20a21b180c8c1d.tar.gz
postgresql-c7f5c7c128c4a17aa0fb8b787b20a21b180c8c1d.zip
Replaced manually synced preproc.y by the one created by the new script.
Adapted regression test files accordingly.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-array.c')
-rw-r--r--src/interfaces/ecpg/test/expected/sql-array.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-array.c b/src/interfaces/ecpg/test/expected/sql-array.c
index bbdc1cd7414..effdb43e956 100644
--- a/src/interfaces/ecpg/test/expected/sql-array.c
+++ b/src/interfaces/ecpg/test/expected/sql-array.c
@@ -115,10 +115,10 @@ main (void)
int * did = & i ;
#line 16 "array.pgc"
- int a [ 10 ] = { 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 } ;
+ int a [ 10 ] = { 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 } ;
#line 17 "array.pgc"
- char text [ 25 ] = "klmnopqrst" ;
+ char text [ 25 ] = "klmnopqrst" ;
#line 18 "array.pgc"
char * t = ( char * ) malloc ( 11 ) ;
@@ -148,14 +148,14 @@ if (sqlca.sqlcode < 0) sqlprint();}
#line 29 "array.pgc"
- { ECPGtrans(__LINE__, NULL, "begin transaction ");
+ { ECPGtrans(__LINE__, NULL, "begin work ");
#line 31 "array.pgc"
if (sqlca.sqlcode < 0) sqlprint();}
#line 31 "array.pgc"
- { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test ( f float , i int , a int [ 10 ] , text char ( 10 ) ) ", ECPGt_EOIT, ECPGt_EORT);
+ { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test ( f float , i int , a int [ 10 ] , text char ( 10 ) ) ", ECPGt_EOIT, ECPGt_EORT);
#line 33 "array.pgc"
if (sqlca.sqlcode < 0) sqlprint();}
@@ -193,14 +193,14 @@ if (sqlca.sqlcode < 0) sqlprint();}
#line 39 "array.pgc"
- { ECPGtrans(__LINE__, NULL, "commit");
+ { ECPGtrans(__LINE__, NULL, "commit ");
#line 41 "array.pgc"
if (sqlca.sqlcode < 0) sqlprint();}
#line 41 "array.pgc"
- { ECPGtrans(__LINE__, NULL, "begin transaction ");
+ { ECPGtrans(__LINE__, NULL, "begin work ");
#line 43 "array.pgc"
if (sqlca.sqlcode < 0) sqlprint();}
@@ -259,7 +259,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
#line 70 "array.pgc"
- { ECPGtrans(__LINE__, NULL, "commit");
+ { ECPGtrans(__LINE__, NULL, "commit ");
#line 72 "array.pgc"
if (sqlca.sqlcode < 0) sqlprint();}