summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-02-14 13:17:13 +0000
committerMichael Meskes <meskes@postgresql.org>2003-02-14 13:17:13 +0000
commit3a335375a961f28053195b2fda15dbe4d40ffc4a (patch)
tree4c32edb2cc0735eecc10ed4d33b90fc35666269e /src/interfaces/ecpg/test
parentaa874ee0d7fcf57257f1c405d81e99503fe0d593 (diff)
downloadpostgresql-3a335375a961f28053195b2fda15dbe4d40ffc4a.tar.gz
- Synced parser and keyword file.
- More work on Informix compatibility.
Diffstat (limited to 'src/interfaces/ecpg/test')
-rw-r--r--src/interfaces/ecpg/test/test2.pgc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/test/test2.pgc b/src/interfaces/ecpg/test/test2.pgc
index c624de2625..b11ce40892 100644
--- a/src/interfaces/ecpg/test/test2.pgc
+++ b/src/interfaces/ecpg/test/test2.pgc
@@ -23,14 +23,15 @@ exec sql begin declare section;
struct personal_indicator { int ind_name;
birthinfo ind_birth;
} ind_personal, *i;
- float ind_married;
- ind children;
ind ind_children;
- char *married = NULL;
c testname="Petra";
char *query="select name, born, age, married, children from meskes where name = :var1";
exec sql end declare section;
+ exec sql char *married = NULL;
+ exec sql float ind_married;
+ exec sql ind children;
+
exec sql var ind_married is long;
exec sql declare cur cursor for