Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaedd189

Browse files
author
Michael Meskes
committed
Allow SET CONNECTION to be followed by connection object without leading "TO" or "=".
Allow whenever statement to list function without parameters.
1 parentbf3e675 commitaedd189

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,11 +1339,20 @@ Fri Feb 14 14:14:25 CET 2003
13391339
- Synced parser and keyword file.
13401340
- More work on Informix compatibility.
13411341

1342+
Mon Feb 17 15:07:41 CET 2003
1343+
1344+
- Added Informix "database" command.
13421345

13431346
Wed Feb 19 13:39:29 CET 2003
13441347

13451348
- Added DATABASE command as alias to CONNECT TO.
13461349
- Fixed struct parsing bug.
1350+
1351+
Tue Feb 25 16:46:27 CET 2003
1352+
1353+
- Allow SET CONNECTION to be followed by connection object without
1354+
leading "TO" or "=".
1355+
- Allow whenever statement to list function without parameters.
13471356
- Set ecpg version to 2.12.0.
13481357
- Set library to 3.4.2.
13491358

‎src/interfaces/ecpg/preproc/preproc.y

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.210 2003/02/19 12:36:39 meskes Exp $*/
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.211 2003/02/25 15:58:03 meskes Exp $*/
22

33
/* Copyright comment*/
44
%{
@@ -4858,6 +4858,7 @@ on_off: ON{ $$ = make_str("on"); }
48584858
*/
48594859
ECPGSetConnection:SETSQL_CONNECTIONTOconnection_object {$$ =$4; }
48604860
|SETSQL_CONNECTION'='connection_object {$$ =$4; }
4861+
|SETSQL_CONNECTIONconnection_object {$$ =$3; }
48614862
;
48624863

48634864
/*
@@ -5106,6 +5107,12 @@ action : SQL_CONTINUE
51065107
$<action>$.command = cat_str(4,$2, make_str("("),$4, make_str(")"));
51075108
$<action>$.str = cat2_str(make_str("call"), mm_strdup($<action>$.command));
51085109
}
5110+
|SQL_CALLname
5111+
{
5112+
$<action>$.code = W_DO;
5113+
$<action>$.command = cat_str(3,$2, make_str("("), make_str(")"));
5114+
$<action>$.str = cat2_str(make_str("call"), mm_strdup($<action>$.command));
5115+
}
51095116
;
51105117

51115118
/* some other stuff for ecpg*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp