projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d1730
)
Fix timestamp_date for HAVE_INT64_TIMESTAMP case.
author
Tom Lane
<
[email protected]
>
Thu, 24 Jul 2003 04:38:27 +0000
(
04:38
+0000)
committer
Tom Lane
<
[email protected]
>
Thu, 24 Jul 2003 04:38:27 +0000
(
04:38
+0000)
src/backend/utils/adt/date.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/date.c
b/src/backend/utils/adt/date.c
index 3e164bec623e302fc10e0cc175a9504cb09aed7b..d89da1ce86b466a40c09510a9031bc146d0b28f9 100644
(file)
--- a/
src/backend/utils/adt/date.c
+++ b/
src/backend/utils/adt/date.c
@@
-321,7
+321,7
@@
timestamp_date(PG_FUNCTION_ARGS)
DateADT result;
struct tm tt,
*tm = &tt;
-
double
fsec;
+
fsec_t
fsec;
if (TIMESTAMP_NOT_FINITE(timestamp))
PG_RETURN_NULL();