mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Remove now-dead code for !HAVE_INT64_TIMESTAMP.
This is a basically mechanical removal of #ifdef HAVE_INT64_TIMESTAMP tests and the negative-case controlled code. Discussion: https://postgr.es/m/26788.1487455319@sss.pgh.pa.us
This commit is contained in:
@ -308,11 +308,7 @@ check_timezone(char **newval, void **extra, GucSource source)
|
||||
}
|
||||
|
||||
/* Here we change from SQL to Unix sign convention */
|
||||
#ifdef HAVE_INT64_TIMESTAMP
|
||||
gmtoffset = -(interval->time / USECS_PER_SEC);
|
||||
#else
|
||||
gmtoffset = -interval->time;
|
||||
#endif
|
||||
new_tz = pg_tzset_offset(gmtoffset);
|
||||
|
||||
pfree(interval);
|
||||
|
Reference in New Issue
Block a user