diff options
author | Michael Meskes <meskes@postgresql.org> | 2007-03-17 19:25:24 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2007-03-17 19:25:24 +0000 |
commit | d3e131e06269d569917ac2a005bc6b92b581612f (patch) | |
tree | 56afc7a953c2ad68ba36b5022990dc9d0de17105 /src/interfaces/ecpg/test/expected/sql-func.c | |
parent | e6e78187ef4011aa3d44280fccc8fbc9baed1dfa (diff) | |
download | postgresql-d3e131e06269d569917ac2a005bc6b92b581612f.tar.gz postgresql-d3e131e06269d569917ac2a005bc6b92b581612f.zip |
- Changed some whitespacing in connect statement.
- Made some chars const as proposed by Stefan Huehner <stefan@huehner.org>.
- Synced parser and keyword lists.
- Copied two token parsing from backend parser to ecpg parser.
- Also added a test case for this.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-func.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/sql-func.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-func.c b/src/interfaces/ecpg/test/expected/sql-func.c index bfa7bbdd944..50b385ee97b 100644 --- a/src/interfaces/ecpg/test/expected/sql-func.c +++ b/src/interfaces/ecpg/test/expected/sql-func.c @@ -26,7 +26,7 @@ int main(int argc, char* argv[]) { ECPGdebug(1, stderr); - { ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , NULL, 0); } + { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , NULL, 0); } #line 10 "func.pgc" @@ -40,7 +40,7 @@ int main(int argc, char* argv[]) { #line 14 "func.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, "create table My_Table ( Item1 int , Item2 text ) ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "create table My_Table ( Item1 int , Item2 text ) ", ECPGt_EOIT, ECPGt_EORT); #line 16 "func.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); @@ -50,7 +50,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 16 "func.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, "create function My_Table_Check () returns trigger as $test$\ + { ECPGdo(__LINE__, 0, 1, NULL, "create function My_Table_Check () returns trigger as $test$\ BEGIN\ RAISE WARNING 'Notice: TG_NAME=%, TG WHEN=%', TG_NAME, TG_WHEN;\ RETURN NEW;\ |