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
149db6b6
Commit
149db6b6
authored
Jan 13, 2008
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed prototype for ECPGdo because some compilers don't like int/enum aliasing in there.
parent
9f2a20b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+5
-0
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/execute.c
+3
-3
src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/include/ecpglib.h
+2
-2
No files found.
src/interfaces/ecpg/ChangeLog
View file @
149db6b6
...
...
@@ -2283,6 +2283,11 @@ Fri, 28 Dec 2007 12:15:38 +0100
Fri, 11 Jan 2008 16:16:24 +0100
- Fixed lexer to correctly parse C quotes.
Sun, 13 Jan 2008 12:52:15 +0100
- Changed prototype for ECPGdo because some compilers don't like
int/enum aliasing in there.
- Set pgtypes library version to 3.0.
- Set compat library version to 3.0.
- Set ecpg library version to 6.0.
...
...
src/interfaces/ecpg/ecpglib/execute.c
View file @
149db6b6
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.7
3 2007/11/15 21:14:45 momjian
Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.7
4 2008/01/13 11:53:16 meskes
Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
...
...
@@ -1430,7 +1430,7 @@ ecpg_execute(struct statement * stmt)
}
bool
ECPGdo
(
const
int
lineno
,
const
int
compat
,
const
int
force_indicator
,
const
char
*
connection_name
,
const
bool
questionmarks
,
const
enum
ECPG_statement_type
st
,
const
char
*
query
,...)
ECPGdo
(
const
int
lineno
,
const
int
compat
,
const
int
force_indicator
,
const
char
*
connection_name
,
const
bool
questionmarks
,
const
int
st
,
const
char
*
query
,...)
{
va_list
args
;
struct
statement
*
stmt
;
...
...
@@ -1439,7 +1439,7 @@ ECPGdo(const int lineno, const int compat, const int force_indicator, const char
char
*
oldlocale
;
enum
ECPGttype
type
;
struct
variable
**
list
;
enum
ECPG_statement_type
statement_type
=
st
;
enum
ECPG_statement_type
statement_type
=
(
enum
ECPG_statement_type
)
st
;
char
*
prepname
;
if
(
!
query
)
...
...
src/interfaces/ecpg/include/ecpglib.h
View file @
149db6b6
/*
* 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
3 2007/10/03 11:11:12
meskes Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.7
4 2008/01/13 11:53:16
meskes Exp $
*/
#ifndef _ECPGLIB_H
...
...
@@ -43,7 +43,7 @@ bool ECPGstatus(int, const char *);
bool
ECPGsetcommit
(
int
,
const
char
*
,
const
char
*
);
bool
ECPGsetconn
(
int
,
const
char
*
);
bool
ECPGconnect
(
int
,
int
,
const
char
*
,
const
char
*
,
const
char
*
,
const
char
*
,
int
);
bool
ECPGdo
(
const
int
,
const
int
,
const
int
,
const
char
*
,
const
char
,
const
enum
ECPG_statement_type
,
const
char
*
,...);
bool
ECPGdo
(
const
int
,
const
int
,
const
int
,
const
char
*
,
const
bool
,
const
int
,
const
char
*
,...);
bool
ECPGtrans
(
int
,
const
char
*
,
const
char
*
);
bool
ECPGdisconnect
(
int
,
const
char
*
);
bool
ECPGprepare
(
int
,
const
char
*
,
const
int
,
const
char
*
,
const
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