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
b647a27c
Commit
b647a27c
authored
Sep 04, 1997
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comparision routines to support indices on datetime and timespan.
parent
7c243f83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/include/utils/dt.h
src/include/utils/dt.h
+3
-1
No files found.
src/include/utils/dt.h
View file @
b647a27c
...
...
@@ -8,7 +8,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dt.h,v 1.1
7 1997/08/21 23:57:00 momjian
Exp $
* $Id: dt.h,v 1.1
8 1997/09/04 18:44:29 thomas
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -259,6 +259,7 @@ extern bool datetime_le(DateTime *dt1, DateTime *dt2);
extern
bool
datetime_ge
(
DateTime
*
dt1
,
DateTime
*
dt2
);
extern
bool
datetime_gt
(
DateTime
*
dt1
,
DateTime
*
dt2
);
extern
bool
datetime_finite
(
DateTime
*
datetime
);
extern
int
datetime_cmp
(
DateTime
*
dt1
,
DateTime
*
dt2
);
extern
DateTime
*
datetime_smaller
(
DateTime
*
dt1
,
DateTime
*
dt2
);
extern
DateTime
*
datetime_larger
(
DateTime
*
dt1
,
DateTime
*
dt2
);
...
...
@@ -270,6 +271,7 @@ extern bool timespan_lt(TimeSpan *span1, TimeSpan *span2);
extern
bool
timespan_le
(
TimeSpan
*
span1
,
TimeSpan
*
span2
);
extern
bool
timespan_ge
(
TimeSpan
*
span1
,
TimeSpan
*
span2
);
extern
bool
timespan_gt
(
TimeSpan
*
span1
,
TimeSpan
*
span2
);
extern
int
timespan_cmp
(
TimeSpan
*
span1
,
TimeSpan
*
span2
);
extern
TimeSpan
*
timespan_smaller
(
TimeSpan
*
span1
,
TimeSpan
*
span2
);
extern
TimeSpan
*
timespan_larger
(
TimeSpan
*
span1
,
TimeSpan
*
span2
);
...
...
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