helly Tue Apr 1 18:34:12 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fix 'time with timezone', too
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.267 php4/ext/pgsql/pgsql.c:1.268
--- php4/ext/pgsql/pgsql.c:1.267 Tue Apr 1 18:26:10 2003
+++ php4/ext/pgsql/pgsql.c Tue Apr 1 18:34:11 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.267 2003/04/01 23:26:10 jay Exp $ */
+/* $Id: pgsql.c,v 1.268 2003/04/01 23:34:11 helly Exp $ */
#include <stdlib.h>
@@ -3203,7 +3203,7 @@
return PG_DATE;
if (!strcmp(type_name, "time"))
return PG_TIME;
- if (!strcmp(type_name, "timestamp") || !strcmp(type_name, "time with time
zone"))
+ if (!strcmp(type_name, "time with time zone") || !strcmp(type_name, "timetz"))
return PG_TIME_WITH_TIMEZONE;
if (!strcmp(type_name, "timestamp with time zone") || !strcmp(type_name,
"timestamptz"))
return PG_TIMESTAMP_WITH_TIMEZONE;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php