aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_ts.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-02-23 14:04:43 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-02-23 14:04:43 -0500
commitb9d092c962ea3262930e3c31a8c3d79b66ce9d43 (patch)
treedce85c309787c766f079c627b7f06fb5f284495b /contrib/btree_gist/btree_ts.c
parentd28aafb6dda326688e2f042c95c93ea57963c03c (diff)
downloadpostgresql-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 'contrib/btree_gist/btree_ts.c')
-rw-r--r--contrib/btree_gist/btree_ts.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/contrib/btree_gist/btree_ts.c b/contrib/btree_gist/btree_ts.c
index ab22b271d33..68177d2784a 100644
--- a/contrib/btree_gist/btree_ts.c
+++ b/contrib/btree_gist/btree_ts.c
@@ -153,11 +153,7 @@ ts_dist(PG_FUNCTION_ARGS)
p->day = INT_MAX;
p->month = INT_MAX;
-#ifdef HAVE_INT64_TIMESTAMP
p->time = PG_INT64_MAX;
-#else
- p->time = DBL_MAX;
-#endif
PG_RETURN_INTERVAL_P(p);
}
else
@@ -181,11 +177,7 @@ tstz_dist(PG_FUNCTION_ARGS)
p->day = INT_MAX;
p->month = INT_MAX;
-#ifdef HAVE_INT64_TIMESTAMP
p->time = PG_INT64_MAX;
-#else
- p->time = DBL_MAX;
-#endif
PG_RETURN_INTERVAL_P(p);
}