mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Allow SET CONNECTION to be followed by connection object without leading "TO" or "=".
Allow whenever statement to list function without parameters.
This commit is contained in:
parent
bf3e675384
commit
aedd189a5c
@ -1339,11 +1339,20 @@ Fri Feb 14 14:14:25 CET 2003
|
|||||||
- Synced parser and keyword file.
|
- Synced parser and keyword file.
|
||||||
- More work on Informix compatibility.
|
- More work on Informix compatibility.
|
||||||
|
|
||||||
|
Mon Feb 17 15:07:41 CET 2003
|
||||||
|
|
||||||
|
- Added Informix "database" command.
|
||||||
|
|
||||||
Wed Feb 19 13:39:29 CET 2003
|
Wed Feb 19 13:39:29 CET 2003
|
||||||
|
|
||||||
- Added DATABASE command as alias to CONNECT TO.
|
- Added DATABASE command as alias to CONNECT TO.
|
||||||
- Fixed struct parsing bug.
|
- Fixed struct parsing bug.
|
||||||
|
|
||||||
|
Tue Feb 25 16:46:27 CET 2003
|
||||||
|
|
||||||
|
- Allow SET CONNECTION to be followed by connection object without
|
||||||
|
leading "TO" or "=".
|
||||||
|
- Allow whenever statement to list function without parameters.
|
||||||
- Set ecpg version to 2.12.0.
|
- Set ecpg version to 2.12.0.
|
||||||
- Set library to 3.4.2.
|
- Set library to 3.4.2.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.210 2003/02/19 12:36:39 meskes Exp $ */
|
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.211 2003/02/25 15:58:03 meskes Exp $ */
|
||||||
|
|
||||||
/* Copyright comment */
|
/* Copyright comment */
|
||||||
%{
|
%{
|
||||||
@ -4858,6 +4858,7 @@ on_off: ON { $$ = make_str("on"); }
|
|||||||
*/
|
*/
|
||||||
ECPGSetConnection: SET SQL_CONNECTION TO connection_object { $$ = $4; }
|
ECPGSetConnection: SET SQL_CONNECTION TO connection_object { $$ = $4; }
|
||||||
| SET SQL_CONNECTION '=' connection_object { $$ = $4; }
|
| SET SQL_CONNECTION '=' connection_object { $$ = $4; }
|
||||||
|
| SET SQL_CONNECTION connection_object { $$ = $3; }
|
||||||
;
|
;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -5106,6 +5107,12 @@ action : SQL_CONTINUE
|
|||||||
$<action>$.command = cat_str(4, $2, make_str("("), $4, make_str(")"));
|
$<action>$.command = cat_str(4, $2, make_str("("), $4, make_str(")"));
|
||||||
$<action>$.str = cat2_str(make_str("call"), mm_strdup($<action>$.command));
|
$<action>$.str = cat2_str(make_str("call"), mm_strdup($<action>$.command));
|
||||||
}
|
}
|
||||||
|
| SQL_CALL name
|
||||||
|
{
|
||||||
|
$<action>$.code = W_DO;
|
||||||
|
$<action>$.command = cat_str(3, $2, make_str("("), make_str(")"));
|
||||||
|
$<action>$.str = cat2_str(make_str("call"), mm_strdup($<action>$.command));
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
/* some other stuff for ecpg */
|
/* some other stuff for ecpg */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user