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
38a412ec
Commit
38a412ec
authored
Aug 01, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile warning.
parent
ec506c12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/interfaces/ecpg/pgtypeslib/dt.h
src/interfaces/ecpg/pgtypeslib/dt.h
+4
-0
src/interfaces/ecpg/pgtypeslib/dt_common.c
src/interfaces/ecpg/pgtypeslib/dt_common.c
+0
-2
No files found.
src/interfaces/ecpg/pgtypeslib/dt.h
View file @
38a412ec
#ifndef DT_H
#define DT_H
#include <pgtypes_timestamp.h>
#define MAXTZLEN 10
#ifdef HAVE_INT64_TIMESTAMP
...
...
@@ -297,6 +299,8 @@ int EncodeTimeOnly(struct tm * tm, fsec_t fsec, int *tzp, int style, char *str);
int
EncodeDateTime
(
struct
tm
*
tm
,
fsec_t
fsec
,
int
*
tzp
,
char
**
tzn
,
int
style
,
char
*
str
,
bool
);
int
EncodeInterval
(
struct
tm
*
tm
,
fsec_t
fsec
,
int
style
,
char
*
str
);
int
tm2timestamp
(
struct
tm
*
,
fsec_t
,
int
*
,
Timestamp
*
);
int
DecodeUnits
(
int
field
,
char
*
lowtoken
,
int
*
val
);
bool
ClearDateCache
(
bool
,
bool
,
bool
);
...
...
src/interfaces/ecpg/pgtypeslib/dt_common.c
View file @
38a412ec
...
...
@@ -14,8 +14,6 @@ static int day_tab[2][13] = {
typedef
long
AbsoluteTime
;
int
tm2timestamp
(
struct
tm
*
,
fsec_t
,
int
*
,
Timestamp
*
);
#define ABS_SIGNBIT ((char) 0200)
#define POS(n) (n)
#define NEG(n) ((n)|ABS_SIGNBIT)
...
...
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