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
2c8223f1
Commit
2c8223f1
authored
Mar 27, 2000
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up comments where had been uglified by the automated reformatter.
parent
0b96c6f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
src/include/utils/nabstime.h
src/include/utils/nabstime.h
+7
-12
No files found.
src/include/utils/nabstime.h
View file @
2c8223f1
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: nabstime.h,v 1.2
3 2000/02/16 17:26:26
thomas Exp $
* $Id: nabstime.h,v 1.2
4 2000/03/27 17:07:48
thomas Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -52,14 +52,10 @@ typedef TimeIntervalData *TimeInterval;
* so redefine them explicitly using these bit patterns. - tgl 97/02/24
*/
#define EPOCH_ABSTIME ((AbsoluteTime) 0)
#define INVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE)
/* 2147483647 == 2^31 -
* 1 */
#define CURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD)
/* 2147483646 == 2^31 -
* 2 */
#define NOEND_ABSTIME ((AbsoluteTime) 0x7FFFFFFC)
/* 2147483645 == 2^31 -
* 3 */
#define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB)
/* 2147483644 == 2^31 -
* 4 */
#define INVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE)
/* 2147483647 (2^31 - 1) */
#define CURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD)
/* 2147483646 (2^31 - 2) */
#define NOEND_ABSTIME ((AbsoluteTime) 0x7FFFFFFC)
/* 2147483645 (2^31 - 3) */
#define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB)
/* 2147483644 (2^31 - 4) */
#if defined(_AIX)
/*
...
...
@@ -70,11 +66,10 @@ typedef TimeIntervalData *TimeInterval;
*/
#define NOSTART_ABSTIME ((AbsoluteTime) INT_MIN)
#else
#define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001)
/* -2147483647 == - 2^31
*/
#define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001)
/* -2147483647 (- 2^31)
*/
#endif
/* _AIX */
#define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE)
/* 2147483647 == 2^31 -
* 1 */
#define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE)
/* 2147483647 (2^31 - 1) */
#define AbsoluteTimeIsValid(time) \
((bool) ((time) != INVALID_ABSTIME))
...
...
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