diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog index e77ecf377b..52b148951e 100644 --- a/src/interfaces/ecpg/ChangeLog +++ b/src/interfaces/ecpg/ChangeLog @@ -595,5 +595,9 @@ Thu Jun 10 21:09:12 CEST 1999 - Fixed typo in preproc.y. - Synced pgc.l with scan.l. + +Wed Jun 16 20:21:42 CEST 1999 + + - Fixed another typo in preproc.y. - Set library version to 3.0.0 - Set ecpg version to 2.6.0 diff --git a/src/interfaces/ecpg/TODO b/src/interfaces/ecpg/TODO index 114500850c..6cc52af293 100644 --- a/src/interfaces/ecpg/TODO +++ b/src/interfaces/ecpg/TODO @@ -11,6 +11,10 @@ it would be nice to be able to use :var[:index] as cvariable support for dynamic SQL with unknown number of variables with DESCRIPTORS +Allow INTO clause in cursor definition instead of FETCH clause. (Informix +does this, Oracle not. But does it work with standard syntax? Or is it even +standard?) + The line numbering is not exact. Missing statements: diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index d541dbf0c8..9d21b064e5 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -2814,7 +2814,7 @@ select_clause: '(' select_clause ')' } | select_clause UNION opt_union select_clause { - $$ = cat3_str($1, make1_str("union"), $3); + $$ = cat4_str($1, make1_str("union"), $3, $4); ForUpdateNotAllowed = 1; } | select_clause INTERSECT opt_union select_clause