diff options
author | Greg Stark <stark@mit.edu> | 2013-07-29 23:43:44 +0100 |
---|---|---|
committer | Greg Stark <stark@mit.edu> | 2013-07-29 23:44:11 +0100 |
commit | 69b7d59a744134e33bbe51dab44dd4113c83b7fb (patch) | |
tree | e3d4ce55850315694f7a6a3d070a4c7ab2a26620 /src/interfaces/ecpg/test/expected/sql-parser.c | |
parent | c62736cc37f6812d1ebb41ea5a86ffe60564a1f0 (diff) |
Sync ECPG with WITH ORDINALITY changes
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-parser.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/sql-parser.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-parser.c b/src/interfaces/ecpg/test/expected/sql-parser.c index 876bbf34a15..a4a6d864bfb 100644 --- a/src/interfaces/ecpg/test/expected/sql-parser.c +++ b/src/interfaces/ecpg/test/expected/sql-parser.c @@ -58,25 +58,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 20 "parser.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into T values ( 1 , null )", ECPGt_EOIT, ECPGt_EORT); -#line 22 "parser.pgc" - -if (sqlca.sqlwarn[0] == 'W') sqlprint(); -#line 22 "parser.pgc" - -if (sqlca.sqlcode < 0) sqlprint();} -#line 22 "parser.pgc" - - { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into T values ( 1 , 1 )", ECPGt_EOIT, ECPGt_EORT); -#line 23 "parser.pgc" - -if (sqlca.sqlwarn[0] == 'W') sqlprint(); -#line 23 "parser.pgc" - -if (sqlca.sqlcode < 0) sqlprint();} -#line 23 "parser.pgc" - - { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into T values ( 1 , 2 )", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "insert into t select 1 , nullif ( y - 1 , 0 ) from generate_series ( 1 , 3 ) with ordinality as series ( x , y )", ECPGt_EOIT, ECPGt_EORT); #line 24 "parser.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); |