mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Use macros for time-based constants, rather than constants.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user