1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

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.
This commit is contained in:
Michael Meskes
2006-08-18 15:59:35 +00:00
parent 45436a403f
commit e91600d1c2
6 changed files with 55 additions and 46 deletions

View File

@ -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;

View File

@ -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");}