diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-02-23 14:04:43 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-02-23 14:04:43 -0500 |
commit | b9d092c962ea3262930e3c31a8c3d79b66ce9d43 (patch) | |
tree | dce85c309787c766f079c627b7f06fb5f284495b /src/backend/commands/variable.c | |
parent | d28aafb6dda326688e2f042c95c93ea57963c03c (diff) | |
download | postgresql-b9d092c962ea3262930e3c31a8c3d79b66ce9d43.tar.gz postgresql-b9d092c962ea3262930e3c31a8c3d79b66ce9d43.zip |
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
Diffstat (limited to 'src/backend/commands/variable.c')
-rw-r--r-- | src/backend/commands/variable.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/backend/commands/variable.c b/src/backend/commands/variable.c index 15dbaf3fd21..d75bddd87b2 100644 --- a/src/backend/commands/variable.c +++ b/src/backend/commands/variable.c @@ -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); |