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
6f30d566
Commit
6f30d566
authored
Jun 25, 2003
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The remaining files ...
parent
8d8b9401
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
16 deletions
+15
-16
src/interfaces/ecpg/pgtypeslib/datetime.c
src/interfaces/ecpg/pgtypeslib/datetime.c
+1
-1
src/interfaces/ecpg/pgtypeslib/dt.h
src/interfaces/ecpg/pgtypeslib/dt.h
+0
-12
src/interfaces/ecpg/pgtypeslib/dt_common.c
src/interfaces/ecpg/pgtypeslib/dt_common.c
+1
-1
src/interfaces/ecpg/pgtypeslib/extern.h
src/interfaces/ecpg/pgtypeslib/extern.h
+11
-0
src/interfaces/ecpg/pgtypeslib/interval.c
src/interfaces/ecpg/pgtypeslib/interval.c
+1
-1
src/interfaces/ecpg/pgtypeslib/timestamp.c
src/interfaces/ecpg/pgtypeslib/timestamp.c
+1
-1
No files found.
src/interfaces/ecpg/pgtypeslib/datetime.c
View file @
6f30d566
...
...
@@ -6,8 +6,8 @@
#include <stdio.h>
#include <string.h>
#include "dt.h"
#include "extern.h"
#include "dt.h"
#include "pgtypes_error.h"
#include "pgtypes_date.h"
...
...
src/interfaces/ecpg/pgtypeslib/dt.h
View file @
6f30d566
...
...
@@ -15,18 +15,6 @@ typedef double fsec_t;
#define JROUND(j) (rint(((double) (j))*TIME_PREC_INV)/TIME_PREC_INV)
#endif
#ifndef bool
#define bool char
#endif
/* ndef bool */
#ifndef FALSE
#define FALSE 0
#endif
/* FALSE */
#ifndef TRUE
#define TRUE 1
#endif
/* TRUE */
#define USE_POSTGRES_DATES 0
#define USE_ISO_DATES 1
#define USE_SQL_DATES 2
...
...
src/interfaces/ecpg/pgtypeslib/dt_common.c
View file @
6f30d566
...
...
@@ -7,8 +7,8 @@
#include <string.h>
#include <math.h>
#include "dt.h"
#include "extern.h"
#include "dt.h"
static
int
day_tab
[
2
][
13
]
=
{
{
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
,
0
},
...
...
src/interfaces/ecpg/pgtypeslib/extern.h
View file @
6f30d566
...
...
@@ -35,6 +35,17 @@ int pgtypes_fmt_replace(union un_fmt_replace, int, char**, int*);
char
*
pgtypes_alloc
(
long
);
char
*
pgtypes_strdup
(
char
*
);
#ifndef bool
#define bool char
#endif
/* ndef bool */
#ifndef FALSE
#define FALSE 0
#endif
/* FALSE */
#ifndef TRUE
#define TRUE 1
#endif
/* TRUE */
#endif
/* __PGTYPES_COMMON_H__ */
src/interfaces/ecpg/pgtypeslib/interval.c
View file @
6f30d566
...
...
@@ -10,8 +10,8 @@
#error -ffast-math is known to break this code
#endif
#include "dt.h"
#include "extern.h"
#include "dt.h"
#include "pgtypes_error.h"
#include "pgtypes_interval.h"
#include "datetime.h"
...
...
src/interfaces/ecpg/pgtypeslib/timestamp.c
View file @
6f30d566
...
...
@@ -9,8 +9,8 @@
#error -ffast-math is known to break this code
#endif
#include "dt.h"
#include "extern.h"
#include "dt.h"
#include "pgtypes_timestamp.h"
#include "pgtypes_date.h"
#include "datetime.h"
...
...
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