Added DATABASE command as alias to CONNECT TO.

This commit is contained in:
Michael Meskes 2003-02-19 12:36:39 +00:00
parent cde8bbc413
commit d5740d7e26
2 changed files with 9 additions and 1 deletions

View File

@ -1338,6 +1338,12 @@ Fri Feb 14 14:14:25 CET 2003
- Synced parser and keyword file.
- More work on Informix compatibility.
Wed Feb 19 13:39:29 CET 2003
- Added DATABASE command as alias to CONNECT TO.
- Fixed struct parsing bug.
- Set ecpg version to 2.12.0.
- Set library to 3.4.2.

View File

@ -1,4 +1,4 @@
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.209 2003/02/17 14:06:40 meskes Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.210 2003/02/19 12:36:39 meskes Exp $ */
/* Copyright comment */
%{
@ -4442,6 +4442,7 @@ enum_definition: '{' c_list '}'
struct_type: s_struct '{' variable_declarations '}'
{
ECPGfree_struct_member(struct_member_list[struct_level]);
struct_member_list[struct_level] = NULL;
free(actual_storage[struct_level--]);
$$ = cat_str(4, $1, make_str("{"), $3, make_str("}"));
}
@ -4450,6 +4451,7 @@ struct_type: s_struct '{' variable_declarations '}'
union_type: s_union '{' variable_declarations '}'
{
ECPGfree_struct_member(struct_member_list[struct_level]);
struct_member_list[struct_level] = NULL;
free(actual_storage[struct_level--]);
$$ = cat_str(4, $1, make_str("{"), $3, make_str("}"));
}