diff options
author | Michael Meskes <meskes@postgresql.org> | 2008-11-13 11:54:39 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2008-11-13 11:54:39 +0000 |
commit | 53f93cbb209edb5dc4cae3e00530b9948f871bce (patch) | |
tree | 09c954c21b115a80465ee505b04c73b5d5215367 /src/interfaces/ecpg/test/sql/copystdout.pgc | |
parent | cd583703ea362855e7e856ae1ea94ffc47270907 (diff) |
Updated parser file to the one generated by the latest version of parse.[awk|pl] from the latest version of gram.y
Some small corrections to test suite.
Diffstat (limited to 'src/interfaces/ecpg/test/sql/copystdout.pgc')
-rw-r--r-- | src/interfaces/ecpg/test/sql/copystdout.pgc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/interfaces/ecpg/test/sql/copystdout.pgc b/src/interfaces/ecpg/test/sql/copystdout.pgc index 8d94c614d98..9ecce7d42c2 100644 --- a/src/interfaces/ecpg/test/sql/copystdout.pgc +++ b/src/interfaces/ecpg/test/sql/copystdout.pgc @@ -8,12 +8,6 @@ EXEC SQL WHENEVER SQLERROR sqlprint; int main () { -/* - EXEC SQL BEGIN DECLARE SECTION; - char *fname = "/tmp/foo"; - EXEC SQL END DECLARE SECTION; -*/ - ECPGdebug (1, stderr); EXEC SQL CONNECT TO REGRESSDB1; @@ -22,10 +16,6 @@ main () EXEC SQL INSERT INTO foo VALUES (6, 'def'); EXEC SQL INSERT INTO foo VALUES (7, 'ghi'); - /* produces expected file "/tmp/foo" */ - /* EXEC SQL COPY foo TO:fname WITH DELIMITER ','; */ - /* printf ("copy to /tmp/foo : sqlca.sqlcode = %ld", sqlca.sqlcode); */ - EXEC SQL COPY foo TO STDOUT WITH DELIMITER ','; printf ("copy to STDOUT : sqlca.sqlcode = %ld\n", sqlca.sqlcode); |