aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2006-09-07 08:15:58 +0000
committerMichael Meskes <meskes@postgresql.org>2006-09-07 08:15:58 +0000
commit1d1868d97ec176b3441c5dc85445d8d33684ea54 (patch)
tree64b8cb8965dc0f57545e9d9bd23d784cd7883089 /src
parentca6a4ff82b213fe65a7fb1d30670bd473138f8d7 (diff)
downloadpostgresql-1d1868d97ec176b3441c5dc85445d8d33684ea54.tar.gz
postgresql-1d1868d97ec176b3441c5dc85445d8d33684ea54.zip
Removed one output because integer/double usage differ
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc b/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
index 1591dde51db..09a95f7aba9 100644
--- a/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
+++ b/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
@@ -95,7 +95,8 @@ main(void)
sprintf(t, "%s %s", dates[i], times[j]);
ts1 = PGTYPEStimestamp_from_asc(t, NULL);
text = PGTYPEStimestamp_to_asc(ts1);
- printf("TS[%d,%d]: %s\n",
+ if (i != 19 || j != 3) /* timestamp as integer or double differ for this case */
+ printf("TS[%d,%d]: %s\n",
i, j, errno ? "-" : text);
free(text);
}