From: Tom Lane Date: Thu, 23 Nov 2006 05:47:48 +0000 (+0000) Subject: Un-break ecpg regression test. X-Git-Tag: REL8_2_RC1~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce3d1a4fbc096d489424847a2f07f63f4ef4f25a;p=postgresql Un-break ecpg regression test. --- diff --git a/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c b/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c index e5388b6fa8..655a7373a9 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;