I have removed all instances of using HAVE_INT64_TIMESTAMP to determine the
type of a variable in files depending on timestamp.h.
---
 src/backend/utils/adt/nabstime.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c
index 992f7ab..5a662f3 100644
--- a/src/backend/utils/adt/nabstime.c
+++ b/src/backend/utils/adt/nabstime.c
@@ -832,11 +832,7 @@ interval_reltime(PG_FUNCTION_ARGS)
                                month,
                                day;
 
-#ifdef HAVE_INT64_TIMESTAMP
-       int64           span;
-#else
-       double          span;
-#endif
+       TimeOffset              span;
 
        year = interval->month / MONTHS_PER_YEAR;
        month = interval->month % MONTHS_PER_YEAR;
-- 
1.5.2.5


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to