aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/misc.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 /src/backend/utils/adt/misc.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 'src/backend/utils/adt/misc.c')
-rw-r--r--src/backend/utils/adt/misc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/utils/adt/misc.c b/src/backend/utils/adt/misc.c
index 66d09bcb0cd..0116fa08a61 100644
--- a/src/backend/utils/adt/misc.c
+++ b/src/backend/utils/adt/misc.c
@@ -535,12 +535,7 @@ pg_sleep(PG_FUNCTION_ARGS)
* less than the specified time when WaitLatch is terminated early by a
* non-query-canceling signal such as SIGHUP.
*/
-
-#ifdef HAVE_INT64_TIMESTAMP
#define GetNowFloat() ((float8) GetCurrentTimestamp() / 1000000.0)
-#else
-#define GetNowFloat() GetCurrentTimestamp()
-#endif
endtime = GetNowFloat() + secs;