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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user