Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e9c44bd3
Commit
e9c44bd3
authored
Jul 21, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More comment update of time macros.
parent
e6b72d6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/include/utils/timestamp.h
src/include/utils/timestamp.h
+3
-3
src/interfaces/ecpg/pgtypeslib/dt.h
src/interfaces/ecpg/pgtypeslib/dt.h
+2
-2
No files found.
src/include/utils/timestamp.h
View file @
e9c44bd3
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.5
1 2005/07/21 18:06:13
momjian Exp $
* $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.5
2 2005/07/21 20:37:21
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -73,8 +73,8 @@ typedef struct
#define HOURS_PER_DAY 24
/* assume no daylight savings time changes */
/*
* This doesn't adjust for uneven daylight savings time intervals
, nor
*
leap second
s.
* This doesn't adjust for uneven daylight savings time intervals
or leap
*
seconds, and it crudely estimates leap year
s.
*/
#define SECS_PER_YEAR (36525 * 864)
/* avoid floating-point computation */
#define SECS_PER_DAY 86400
...
...
src/interfaces/ecpg/pgtypeslib/dt.h
View file @
e9c44bd3
...
...
@@ -229,8 +229,8 @@ do { \
#define HOURS_PER_DAY 24
/* assume no daylight savings time changes */
/*
* This doesn't adjust for uneven daylight savings time intervals
, nor
*
leap second
s.
* This doesn't adjust for uneven daylight savings time intervals
or leap
*
seconds, and it crudely estimates leap year
s.
*/
#define SECS_PER_YEAR (36525 * 864)
/* avoid floating-point computation */
#define SECS_PER_DAY 86400
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment