From 3a3f39fdc00c6caa41d795475189ac844403b770 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 12 Mar 2011 09:31:18 -0500 Subject: Use macros for time-based constants, rather than constants. --- src/backend/utils/adt/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/utils/adt/date.c') diff --git a/src/backend/utils/adt/date.c b/src/backend/utils/adt/date.c index 80dd10b8413..f96fa6cb72e 100644 --- a/src/backend/utils/adt/date.c +++ b/src/backend/utils/adt/date.c @@ -2612,7 +2612,7 @@ timetz_zone(PG_FUNCTION_ARGS) type = DecodeSpecial(0, lowzone, &val); if (type == TZ || type == DTZ) - tz = val * 60; + tz = val * MINS_PER_HOUR; else { tzp = pg_tzset(tzname); -- cgit v1.2.3