aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-08-25 14:03:29 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-08-25 14:03:29 +0000
commit875a3f66048a99a9ab91000d6bb2de80a62ad20a (patch)
treeedbaf82c9983a5e09046d4d68c82a3d6fe49349f
parent35478b8028a2332a3e9c4da230091b031a65ed28 (diff)
downloadpostgresql-875a3f66048a99a9ab91000d6bb2de80a62ad20a.tar.gz
postgresql-875a3f66048a99a9ab91000d6bb2de80a62ad20a.zip
From: Michael Meskes <meskes@online-club.de>
+ + Fri Aug 14 12:44:21 CEST 1998 + + - Added EXEC SQL DEFINE statement + - Set version to 2.4.0 + + Tue Aug 18 09:24:15 CEST 1998 + + - Removed keyword IS from DEFINE statement + - Added latest changes from gram.y + - Removed duplicate symbols from preproc.y + - Initialize sqlca structure + - Added check for connection to ecpglib + - Set version to 2.4.1 + + Thu Aug 20 15:31:29 CEST 1998 + + - Cleaned up memory allocation in ecpglib.c + - Set library version to 2.6 +
-rw-r--r--src/interfaces/ecpg/test/test1.pgc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/test1.pgc b/src/interfaces/ecpg/test/test1.pgc
index c485a487fce..fde066a668e 100644
--- a/src/interfaces/ecpg/test/test1.pgc
+++ b/src/interfaces/ecpg/test/test1.pgc
@@ -4,12 +4,14 @@ exec sql whenever sqlerror sqlprint;
exec sql include sqlca;
+exec sql define AMOUNT 5;
+
int
main ()
{
exec sql begin declare section;
- int amount[5];
- char name[5][8];
+ int amount[AMOUNT];
+ char name[AMOUNT][8];
exec sql end declare section;
char msg[128], command[128];
FILE *dbgs;