diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1998-06-03 13:55:15 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1998-06-03 13:55:15 +0000 |
| commit | 2a74511bf4a66bc878ebf1eb097fa68062b7233f (patch) | |
| tree | 029b5baad7814b89022af886c4284d27331995d0 /src/interfaces/ecpg/test | |
| parent | 0b09955da8721c049d3f504cb9dcb85702e7fb8b (diff) | |
| download | postgresql-2a74511bf4a66bc878ebf1eb097fa68062b7233f.tar.gz | |
From: Michael Meskes <meskes@topsystem.de>
+ Wed Jun 3 13:38:57 CEST 1998
+
+ - Made sqlca struct compatible with other systems.
+ - Give back a warning in case of truncation
+ - Changed the handling of OptimizableStmt since the old one broke
+ CREATE RULE
+ - Set library version to 2.3
+ - Set version to 2.3.3
Diffstat (limited to 'src/interfaces/ecpg/test')
| -rw-r--r-- | src/interfaces/ecpg/test/header_test.h | 1 | ||||
| -rw-r--r-- | src/interfaces/ecpg/test/test2.pgc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/header_test.h b/src/interfaces/ecpg/test/header_test.h index cc84aed778..7d495ac64f 100644 --- a/src/interfaces/ecpg/test/header_test.h +++ b/src/interfaces/ecpg/test/header_test.h @@ -1,4 +1,3 @@ exec sql include sqlca; -exec sql whenever not found do break; exec sql whenever sqlerror sqlprint; diff --git a/src/interfaces/ecpg/test/test2.pgc b/src/interfaces/ecpg/test/test2.pgc index 3b7ff3f9d5..324a63b941 100644 --- a/src/interfaces/ecpg/test/test2.pgc +++ b/src/interfaces/ecpg/test/test2.pgc @@ -48,6 +48,8 @@ exec sql end declare section; strcpy(msg, "open"); exec sql open cur; + exec sql whenever not found do break; + while (1) { strcpy(msg, "fetch"); exec sql fetch cur into :personal:ind_personal, :married:ind_married; |
