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
78772dc0
Commit
78772dc0
authored
Feb 14, 2008
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
0fa15b9e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
11 deletions
+20
-11
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+3
-0
src/interfaces/ecpg/include/datetime.h
src/interfaces/ecpg/include/datetime.h
+3
-3
src/interfaces/ecpg/include/decimal.h
src/interfaces/ecpg/include/decimal.h
+2
-2
src/interfaces/ecpg/include/ecpg_informix.h
src/interfaces/ecpg/include/ecpg_informix.h
+6
-1
src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/include/ecpglib.h
+3
-2
src/interfaces/ecpg/preproc/pgc.l
src/interfaces/ecpg/preproc/pgc.l
+3
-3
No files found.
src/interfaces/ecpg/ChangeLog
View file @
78772dc0
...
...
@@ -2307,4 +2307,7 @@ Wed, 06 Feb 2008 09:04:48 +0100
- Fixed segfault in ecpg when using an array element.
- Free all memory in auto-prepare mode.
Thu, 14 Feb 2008 13:11:34 +0100
- Added SQLSTATE macro closing bug #3961.
src/interfaces/ecpg/include/datetime.h
View file @
78772dc0
/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/datetime.h,v 1.1
2 2006/03/11 04:38:39 momjian
Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/datetime.h,v 1.1
3 2008/02/14 12:22:36 meskes
Exp $ */
#ifndef _ECPG_DATETIME_H
#define _ECPG_DATETIME_H
#include <ecpg_informix.h>
typedef
timestamp
dtime_t
;
typedef
interval
intrvl_t
;
/*
typedef timestamp dtime_t;
typedef interval intrvl_t;
*/
#endif
/* ndef _ECPG_DATETIME_H */
src/interfaces/ecpg/include/decimal.h
View file @
78772dc0
/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/decimal.h,v 1.1
4 2006/03/11 04:38:39 momjian
Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/decimal.h,v 1.1
5 2008/02/14 12:22:36 meskes
Exp $ */
#ifndef _ECPG_DECIMAL_H
#define _ECPG_DECIMAL_H
#include <ecpg_informix.h>
typedef
decimal
dec_t
;
/* typedef decimal dec_t; */
#endif
/* ndef _ECPG_DECIMAL_H */
src/interfaces/ecpg/include/ecpg_informix.h
View file @
78772dc0
/*
* This file contains stuff needed to be as compatible to Informix as possible.
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpg_informix.h,v 1.1
8 2006/03/11 04:38:39 momjian
Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpg_informix.h,v 1.1
9 2008/02/14 12:22:36 meskes
Exp $
*/
#ifndef _ECPG_INFORMIX_H
#define _ECPG_INFORMIX_H
...
...
@@ -82,6 +82,11 @@ extern int dttofmtasc(timestamp *, char *, int, char *);
extern
int
intoasc
(
interval
*
,
char
*
);
extern
int
dtcvfmtasc
(
char
*
,
char
*
,
timestamp
*
);
/* we also define Informix datatypes here */
typedef
timestamp
dtime_t
;
typedef
interval
intrvl_t
;
typedef
decimal
dec_t
;
#ifdef __cplusplus
}
#endif
...
...
src/interfaces/ecpg/include/ecpglib.h
View file @
78772dc0
/*
* this is a small part of c.h since we don't want to leak all postgres
* definitions into ecpg programs
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.7
4 2008/01/13 11:53:1
6 meskes Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.7
5 2008/02/14 12:22:3
6 meskes Exp $
*/
#ifndef _ECPGLIB_H
...
...
@@ -59,6 +59,7 @@ void sqlprint(void);
/* define this for simplicity as well as compatibility */
#define SQLCODE sqlca.sqlcode
#define SQLSTATE sqlca.sqlstate
/* dynamic SQL */
...
...
src/interfaces/ecpg/preproc/pgc.l
View file @
78772dc0
...
...
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.1
59 2008/01/15 10:31:47
meskes Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.1
60 2008/02/14 12:22:36
meskes Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1320,7 +1320,7 @@ static bool isdefine(void)
static bool isinformixdefine(void)
{
const char *new = NULL;
/*
const char *new = NULL;
if (strcmp(yytext, "dec_t") == 0)
new = "decimal";
...
...
@@ -1344,7 +1344,7 @@ static bool isinformixdefine(void)
yy_scan_string(new);
return true;
}
*/
return false;
}
...
...
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