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
05f4b03b
Commit
05f4b03b
authored
Sep 01, 2003
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed two bugs in pgtypes library.
parent
11c2f190
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+4
-0
src/interfaces/ecpg/include/sqltypes.h
src/interfaces/ecpg/include/sqltypes.h
+1
-1
src/interfaces/ecpg/pgtypeslib/timestamp.c
src/interfaces/ecpg/pgtypeslib/timestamp.c
+2
-2
No files found.
src/interfaces/ecpg/ChangeLog
View file @
05f4b03b
...
...
@@ -1608,6 +1608,10 @@ Mon Aug 25 13:24:27 CEST 2003
Tue Aug 26 18:06:45 CEST 2003
- Fixed processing of connect statement with username as variable.
Mon Sep 1 14:33:10 CEST 2003
- Fixed two bugs in numeric library.
- Set ecpg version to 3.0.0
- Set ecpg library to 4.0.0
- Set pgtypes library to 1.0.0
...
...
src/interfaces/ecpg/include/sqltypes.h
View file @
05f4b03b
...
...
@@ -9,7 +9,7 @@
#define CSTRINGTYPE ECPGt_char
#define CDATETYPE ECPGt_date
#define CMONEYTYPE 111
#define CDTIMETYPE
112
#define CDTIMETYPE
ECPGt_timestamp
#define CLOCATORTYPE 113
#define CVCHARTYPE ECPGt_varchar
#define CINVTYPE 115
...
...
src/interfaces/ecpg/pgtypeslib/timestamp.c
View file @
05f4b03b
...
...
@@ -418,7 +418,7 @@ dttofmtasc_replace(Timestamp *ts, Date dDate, int dow, struct tm * tm,
/* XXX */
break
;
case
'C'
:
replace_val
.
uint_val
=
(
tm
->
tm_year
+
1900
)
/
100
;
replace_val
.
uint_val
=
tm
->
tm_year
/
100
;
replace_type
=
PGTYPES_TYPE_UINT_2_LZ
;
break
;
case
'd'
:
...
...
@@ -677,7 +677,7 @@ dttofmtasc_replace(Timestamp *ts, Date dDate, int dow, struct tm * tm,
replace_type
=
PGTYPES_TYPE_UINT_2_LZ
;
break
;
case
'Y'
:
replace_val
.
uint_val
=
tm
->
tm_year
+
1900
;
replace_val
.
uint_val
=
tm
->
tm_year
;
replace_type
=
PGTYPES_TYPE_UINT
;
break
;
case
'z'
:
...
...
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