diff options
author | Michael Meskes <meskes@postgresql.org> | 2015-02-10 12:00:13 +0100 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2015-02-10 12:04:10 +0100 |
commit | 1f393fc923ec77f25fd37e16fd8ccb480df82ebb (patch) | |
tree | e771707dfd308ec99087cdfb601bdb74c07ef032 /src/interfaces/ecpg/test/expected/sql-array.stdout | |
parent | 025c02420de990c15a90e9e3f86fcfbc5b59ee88 (diff) | |
download | postgresql-1f393fc923ec77f25fd37e16fd8ccb480df82ebb.tar.gz postgresql-1f393fc923ec77f25fd37e16fd8ccb480df82ebb.zip |
Fixed array handling in ecpg.
When ecpg was rewritten to the new protocol version not all variable types
were corrected. This patch rewrites the code for these types to fix that. It
also fixes the documentation to correctly tell the status of array handling.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-array.stdout')
-rw-r--r-- | src/interfaces/ecpg/test/expected/sql-array.stdout | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-array.stdout b/src/interfaces/ecpg/test/expected/sql-array.stdout index 88c19f2498a..e2a91b9850f 100644 --- a/src/interfaces/ecpg/test/expected/sql-array.stdout +++ b/src/interfaces/ecpg/test/expected/sql-array.stdout @@ -1,13 +1,13 @@ Found f=14.070000 text=0123456789 -Found a[0] = 9 -Found a[1] = 8 -Found a[2] = 7 -Found a[3] = 6 -Found a[4] = 5 -Found a[5] = 4 -Found a[6] = 3 -Found a[7] = 2 -Found a[8] = 1 -Found a[9] = 0 +Found a[0] = 9 ts[0] = 2000-01-01 00:00:00 n[0] = 0.0 d[0] = 2000-01-10 in[0] = @ 10 hours +Found a[1] = 8 ts[1] = 2000-01-01 01:00:00 n[1] = 1.0 d[1] = 2000-01-11 in[1] = @ 11 hours +Found a[2] = 7 ts[2] = 2000-01-01 02:00:00 n[2] = 2.0 d[2] = 2000-01-12 in[2] = @ 12 hours +Found a[3] = 6 ts[3] = 2000-01-01 03:00:00 n[3] = 3.0 d[3] = 2000-01-13 in[3] = @ 13 hours +Found a[4] = 5 ts[4] = 2000-01-01 04:00:00 n[4] = 4.0 d[4] = 2000-01-14 in[4] = @ 14 hours +Found a[5] = 4 ts[5] = 2000-01-01 05:00:00 n[5] = 5.0 d[5] = 2000-01-15 in[5] = @ 15 hours +Found a[6] = 3 ts[6] = 2000-01-01 06:00:00 n[6] = 6.0 d[6] = 2000-01-16 in[6] = @ 16 hours +Found a[7] = 2 ts[7] = 2000-01-01 07:00:00 n[7] = 7.0 d[7] = 2000-01-17 in[7] = @ 17 hours +Found a[8] = 1 ts[8] = 2000-01-01 08:00:00 n[8] = 8.0 d[8] = 2000-01-18 in[8] = @ 18 hours +Found a[9] = 0 ts[9] = 2000-01-01 09:00:00 n[9] = 9.0 d[9] = 2000-01-19 in[9] = @ 19 hours Found text=klmnopqrst Found text={9,8,7,6,5,4,3,2,1,0} |