OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2eb9e0
)
Remove duplicate time-based macros recently added.
author
Bruce Momjian
<bruce@momjian.us>
Mon, 14 Mar 2011 14:40:14 +0000
(10:40 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Mon, 14 Mar 2011 14:40:14 +0000
(10:40 -0400)
src/include/utils/timestamp.h
patch
|
blob
|
history
diff --git
a/src/include/utils/timestamp.h
b/src/include/utils/timestamp.h
index
e14285f
..
9e51b58
100644
(file)
--- a/
src/include/utils/timestamp.h
+++ b/
src/include/utils/timestamp.h
@@
-81,8
+81,6
@@
typedef struct
*/
#define DAYS_PER_MONTH 30 /* assumes exactly 30 days per month */
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
-#define MINS_PER_HOUR 60 /* assume no daylight savings time changes */
-#define SECS_PER_MINUTE 60 /* assume no daylight savings time changes */
/*
* This doesn't adjust for uneven daylight savings time intervals or leap