From c70db13265b3f430d55d2e7256f30966c40cb87b Mon Sep 17 00:00:00 2001
From: Michael Meskes <meskes@postgresql.org>
Date: Wed, 16 Jun 1999 18:25:50 +0000
Subject: [PATCH] *** empty log message ***

---
 src/interfaces/ecpg/ChangeLog         | 4 ++++
 src/interfaces/ecpg/TODO              | 4 ++++
 src/interfaces/ecpg/preproc/preproc.y | 2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog
index e77ecf377b7..52b148951e8 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 114500850c6..6cc52af293d 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 d541dbf0c85..9d21b064e57 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
-- 
GitLab