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
573f4500
Commit
573f4500
authored
Sep 10, 2003
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some uppercase type definitions were left.
parent
0f310ee7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
21 deletions
+31
-21
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+10
-0
src/interfaces/ecpg/compatlib/informix.c
src/interfaces/ecpg/compatlib/informix.c
+9
-9
src/interfaces/ecpg/include/ecpg_informix.h
src/interfaces/ecpg/include/ecpg_informix.h
+12
-12
No files found.
src/interfaces/ecpg/ChangeLog
View file @
573f4500
...
...
@@ -1612,6 +1612,16 @@ Tue Aug 26 18:06:45 CEST 2003
Mon Sep 1 14:33:10 CEST 2003
- Fixed two bugs in numeric library.
Tue Sep 9 12:13:51 CEST 2003
- Added Dave patch for Informix handling of numeric/int conversion.
- Changed all new datatypes to lowercase.
- Fixed rounding bug in numerical types.
Wed Sep 10 20:01:49 CEST 2003
- Some files still had uppercase typenames
- Set ecpg version to 3.0.0
- Set ecpg library to 4.0.0
- Set pgtypes library to 1.0.0
...
...
src/interfaces/ecpg/compatlib/informix.c
View file @
573f4500
...
...
@@ -426,7 +426,7 @@ dectolong(decimal * np, long *lngp)
/* Now the date functions */
int
rdatestr
(
D
ate
d
,
char
*
str
)
rdatestr
(
d
ate
d
,
char
*
str
)
{
char
*
tmp
=
PGTYPESdate_to_asc
(
d
);
...
...
@@ -441,9 +441,9 @@ rdatestr(Date d, char *str)
}
int
rstrdate
(
char
*
str
,
D
ate
*
d
)
rstrdate
(
char
*
str
,
d
ate
*
d
)
{
D
ate
dat
=
PGTYPESdate_from_asc
(
str
,
NULL
);
d
ate
dat
=
PGTYPESdate_from_asc
(
str
,
NULL
);
if
(
errno
!=
PGTYPES_DATE_BAD_DATE
&&
dat
==
0
)
return
-
1218
;
...
...
@@ -453,14 +453,14 @@ rstrdate(char *str, Date * d)
}
void
rtoday
(
D
ate
*
d
)
rtoday
(
d
ate
*
d
)
{
PGTYPESdate_today
(
d
);
return
;
}
int
rjulmdy
(
D
ate
d
,
short
mdy
[
3
])
rjulmdy
(
d
ate
d
,
short
mdy
[
3
])
{
int
mdy_int
[
3
];
...
...
@@ -472,7 +472,7 @@ rjulmdy(Date d, short mdy[3])
}
int
rdefmtdate
(
D
ate
*
d
,
char
*
fmt
,
char
*
str
)
rdefmtdate
(
d
ate
*
d
,
char
*
fmt
,
char
*
str
)
{
/* TODO: take care of DBCENTURY environment variable */
/* PGSQL functions allow all centuries */
...
...
@@ -497,7 +497,7 @@ rdefmtdate(Date * d, char *fmt, char *str)
}
int
rfmtdate
(
D
ate
d
,
char
*
fmt
,
char
*
str
)
rfmtdate
(
d
ate
d
,
char
*
fmt
,
char
*
str
)
{
if
(
PGTYPESdate_fmt_asc
(
d
,
fmt
,
str
)
==
0
)
return
0
;
...
...
@@ -509,7 +509,7 @@ rfmtdate(Date d, char *fmt, char *str)
}
int
rmdyjul
(
short
mdy
[
3
],
D
ate
*
d
)
rmdyjul
(
short
mdy
[
3
],
d
ate
*
d
)
{
int
mdy_int
[
3
];
...
...
@@ -521,7 +521,7 @@ rmdyjul(short mdy[3], Date * d)
}
int
rdayofweek
(
D
ate
d
)
rdayofweek
(
d
ate
d
)
{
return
(
PGTYPESdate_dayofweek
(
d
));
}
...
...
src/interfaces/ecpg/include/ecpg_informix.h
View file @
573f4500
...
...
@@ -8,18 +8,18 @@
#define SQLNOTFOUND 100
#ifndef
D
ate
#define
D
ate long
#endif
/* !
D
ate */
#ifndef
d
ate
#define
d
ate long
#endif
/* !
d
ate */
extern
int
rdatestr
(
D
ate
,
char
*
);
extern
void
rtoday
(
D
ate
*
);
extern
int
rjulmdy
(
D
ate
,
short
*
);
extern
int
rdefmtdate
(
D
ate
*
,
char
*
,
char
*
);
extern
int
rfmtdate
(
D
ate
,
char
*
,
char
*
);
extern
int
rmdyjul
(
short
*
,
D
ate
*
);
extern
int
rstrdate
(
char
*
,
D
ate
*
);
extern
int
rdayofweek
(
D
ate
);
extern
int
rdatestr
(
d
ate
,
char
*
);
extern
void
rtoday
(
d
ate
*
);
extern
int
rjulmdy
(
d
ate
,
short
*
);
extern
int
rdefmtdate
(
d
ate
*
,
char
*
,
char
*
);
extern
int
rfmtdate
(
d
ate
,
char
*
,
char
*
);
extern
int
rmdyjul
(
short
*
,
d
ate
*
);
extern
int
rstrdate
(
char
*
,
d
ate
*
);
extern
int
rdayofweek
(
d
ate
);
extern
int
rfmtlong
(
long
,
char
*
,
char
*
);
extern
int
rgetmsg
(
int
,
char
*
,
int
);
...
...
@@ -28,7 +28,7 @@ extern int rsetnull(int, char *);
extern
int
rtypalign
(
int
,
int
);
extern
int
rtypmsize
(
int
,
int
);
extern
int
rtypwidth
(
int
,
int
);
extern
void
rupshift
(
char
*
);
extern
void
rupshift
(
char
*
);
extern
int
byleng
(
char
*
,
int
);
extern
void
ldchar
(
char
*
,
int
,
char
*
);
...
...
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