projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6a4ff
)
Removed one output because integer/double usage differ
author
Michael Meskes
Thu, 7 Sep 2006 08:15:58 +0000
(08:15 +0000)
committer
Michael Meskes
Thu, 7 Sep 2006 08:15:58 +0000
(08:15 +0000)
src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
b/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
index 1591dde51db62faf58d69aa88e2ed0e3600622b4..09a95f7aba9a5f2a02a833c87d72b01061a0ba69 100644
(file)
--- 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);
}