diff options
| author | Michael Meskes <meskes@postgresql.org> | 2006-08-18 15:59:35 +0000 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2006-08-18 15:59:35 +0000 |
| commit | e91600d1c2e79914e6c8ac445c340e704c710b66 (patch) | |
| tree | fd1a901e76a73fa6a7765e1c722a8a021ea4d336 /src/interfaces/ecpg/test | |
| parent | 45436a403f27d0726f1cdc36162dc36d4ee4e31e (diff) | |
| download | postgresql-e91600d1c2e79914e6c8ac445c340e704c710b66.tar.gz | |
Changed lexer to no longer use the default rule.
Synced parser and keyword list.
Fixed parsing of CONNECT statement so it accepts a C string again.
Diffstat (limited to 'src/interfaces/ecpg/test')
| -rw-r--r-- | src/interfaces/ecpg/test/connect/test3.pgc | 2 | ||||
| -rw-r--r-- | src/interfaces/ecpg/test/expected/connect-test3.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/connect/test3.pgc b/src/interfaces/ecpg/test/connect/test3.pgc index 9910cb1b0c..40c866f1fb 100644 --- a/src/interfaces/ecpg/test/connect/test3.pgc +++ b/src/interfaces/ecpg/test/connect/test3.pgc @@ -34,7 +34,7 @@ exec sql end declare section; /* will close "second" */ exec sql disconnect DEFAULT; - exec sql connect to REGRESSDB1 as second; + exec sql connect to "connectdb" as second; exec sql disconnect ALL; exec sql disconnect CURRENT; diff --git a/src/interfaces/ecpg/test/expected/connect-test3.c b/src/interfaces/ecpg/test/expected/connect-test3.c index 62a3cd6809..32d24bedf4 100644 --- a/src/interfaces/ecpg/test/expected/connect-test3.c +++ b/src/interfaces/ecpg/test/expected/connect-test3.c @@ -78,7 +78,7 @@ main(void) #line 35 "test3.pgc" - { ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , "second", 0); } + { ECPGconnect(__LINE__, 0, "connectdb" , NULL,NULL , "second", 0); } #line 37 "test3.pgc" { ECPGdisconnect(__LINE__, "ALL");} |
