diff options
| author | Michael Meskes <meskes@postgresql.org> | 2000-04-03 19:34:26 +0000 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2000-04-03 19:34:26 +0000 |
| commit | 5454b37921ba37b14f2bddfd5781ff3eb0e910f7 (patch) | |
| tree | 978ebf131a68a63bab094f74bd6ec470c9deb479 /src/interfaces/ecpg/test | |
| parent | c4ef93dbc62d9c3de8161821a1df0cac8d8787ef (diff) | |
*** empty log message ***
Diffstat (limited to 'src/interfaces/ecpg/test')
| -rw-r--r-- | src/interfaces/ecpg/test/test4.pgc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/test4.pgc b/src/interfaces/ecpg/test/test4.pgc index dbbf49d7f09..ade00f56559 100644 --- a/src/interfaces/ecpg/test/test4.pgc +++ b/src/interfaces/ecpg/test/test4.pgc @@ -8,7 +8,8 @@ int main () { EXEC SQL BEGIN DECLARE SECTION; - int i = 1; + int i = 3; + int *did = &i; int a[10] = {9,8,7,6,5,4,3,2,1,0}; double f; EXEC SQL END DECLARE SECTION; @@ -31,6 +32,8 @@ EXEC SQL END DECLARE SECTION; EXEC SQL INSERT INTO test(f,i,a) VALUES(404.90,1,'{0,1,2,3,4,5,6,7,8,9}'); EXEC SQL INSERT INTO test(f,i,a) VALUES(140787.0,2,:a); + + EXEC SQL INSERT INTO test(f,i,a) VALUES(14.07,:did,:a); EXEC SQL COMMIT; |
