summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-05-18 16:05:05 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-05-18 16:05:05 +0000
commitef567413d2f7a75c31b79a48c79ff628fec3e5fa (patch)
treea171796f653770dce0c6337ff71aa3fae7b5fcce /src/interfaces/ecpg/test
parentd1c5021c67fc91ea0b686305893cdf186ea27cd6 (diff)
downloadpostgresql-ef567413d2f7a75c31b79a48c79ff628fec3e5fa.tar.gz
From: Michael Meskes <meskes@topsystem.de>
+ + Wed May 6 16:09:45 CEST 1998 + + - Some more cleanups in the library. + + Thu May 7 12:34:28 CEST 1998 + + - Made CONNECT and DISCONNECT statement more SQL3 compliant. + - Changed the API for the ECPGconnect function to be able to handle + hostnames and ports + + Fri May 8 13:54:45 CEST 1998 + - More changes to the parser. The connect statement now allows + ORACLE style logins. + - db-name is accepted in two ways: + - <dbname>[@<server>][:<port>] + - esql:postgresql://<server>[:<port>][/<dbname>] + + Mon May 11 10:28:37 CEST 1998 + + - Added '? options' to connect call. + - Also allow USING as keyword for the password + + Thu May 14 15:09:58 CEST 1998 + + - Changed preproc.y and pgc.l according to the parser changes in the + backend. + + Fri May 15 09:55:21 CEST 1998 + + - Added connection_name handling + + + Mon May 18 10:33:58 CEST 1998 + + - Fixed some more bugs + - Set version to 2.3.1 + - Set library version to 2.2
Diffstat (limited to 'src/interfaces/ecpg/test')
-rw-r--r--src/interfaces/ecpg/test/perftest.pgc2
-rw-r--r--src/interfaces/ecpg/test/test1.pgc2
-rw-r--r--src/interfaces/ecpg/test/test2.pgc8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/test/perftest.pgc b/src/interfaces/ecpg/test/perftest.pgc
index f56d814dd9..6ec604d47f 100644
--- a/src/interfaces/ecpg/test/perftest.pgc
+++ b/src/interfaces/ecpg/test/perftest.pgc
@@ -28,7 +28,7 @@ exec sql begin declare section;
exec sql end declare section;
struct timeval tvs, tve;
- exec sql connect mm;
+ exec sql connect to mm;
exec sql create table perftest1(number int4, ascii char(16));
diff --git a/src/interfaces/ecpg/test/test1.pgc b/src/interfaces/ecpg/test/test1.pgc
index 3363af07b1..c485a487fc 100644
--- a/src/interfaces/ecpg/test/test1.pgc
+++ b/src/interfaces/ecpg/test/test1.pgc
@@ -19,7 +19,7 @@ exec sql end declare section;
ECPGdebug(1, dbgs);
strcpy(msg, "connect");
- exec sql connect mm;
+ exec sql connect to mm;
strcpy(msg, "create");
exec sql create table test(name char(8), amount int);
diff --git a/src/interfaces/ecpg/test/test2.pgc b/src/interfaces/ecpg/test/test2.pgc
index ed0599cdea..3b7ff3f9d5 100644
--- a/src/interfaces/ecpg/test/test2.pgc
+++ b/src/interfaces/ecpg/test/test2.pgc
@@ -11,9 +11,9 @@ exec sql begin declare section;
short age;
} birth;
} personal;
- struct personal_indicator { short name;
- struct birth_indicator { short born;
- int age;
+ struct personal_indicator { short ind_name;
+ struct birth_indicator { short ind_born;
+ int ind_age;
} ind_birth;
} ind_personal;
long ind_married;
@@ -26,7 +26,7 @@ exec sql end declare section;
ECPGdebug(1, dbgs);
strcpy(msg, "connect");
- exec sql connect mm;
+ exec sql connect to mm;
strcpy(msg, "create");
exec sql create table meskes(name char(8), born integer, age smallint, married char(8));