aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-23 05:47:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-23 05:47:48 +0000
commitce3d1a4fbc096d489424847a2f07f63f4ef4f25a (patch)
treeb90afe38ee421db1b85b6eeb1dbe88c10cc8b84b /src
parent34036c865804d46f80007e22dc952b1ebce8c7bc (diff)
downloadpostgresql-ce3d1a4fbc096d489424847a2f07f63f4ef4f25a.tar.gz
postgresql-ce3d1a4fbc096d489424847a2f07f63f4ef4f25a.zip
Un-break ecpg regression test.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c b/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c
index e5388b6fa8d..655a7373a98 100644
--- a/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c
+++ b/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c
@@ -47,7 +47,8 @@ char *dates[] = { "19990108foobar",
"January 8, 99 BC",
NULL };
-char *times[] = { "0:04",
+/* do not conflict with libc "times" symbol */
+static char *times[] = { "0:04",
"1:59 PDT",
"13:24:40 -8:00",
"13:24:40.495+3",
@@ -72,22 +73,22 @@ main(void)
-#line 51 "dt_test2.pgc"
+#line 52 "dt_test2.pgc"
date date1 ;
-#line 52 "dt_test2.pgc"
+#line 53 "dt_test2.pgc"
timestamp ts1 , ts2 ;
-#line 53 "dt_test2.pgc"
+#line 54 "dt_test2.pgc"
char * text ;
-#line 54 "dt_test2.pgc"
+#line 55 "dt_test2.pgc"
interval * i1 ;
-#line 55 "dt_test2.pgc"
+#line 56 "dt_test2.pgc"
date * dc ;
/* exec sql end declare section */
-#line 56 "dt_test2.pgc"
+#line 57 "dt_test2.pgc"
int i, j;