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
70130905
Commit
70130905
authored
Feb 25, 2000
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
94ae69f4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
5 deletions
+34
-5
src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/include/ecpglib.h
+2
-0
src/interfaces/ecpg/include/ecpgtype.h
src/interfaces/ecpg/include/ecpgtype.h
+28
-2
src/interfaces/ecpg/lib/Makefile.in
src/interfaces/ecpg/lib/Makefile.in
+2
-2
src/interfaces/ecpg/lib/prepare.c
src/interfaces/ecpg/lib/prepare.c
+2
-1
No files found.
src/interfaces/ecpg/include/ecpglib.h
View file @
70130905
...
...
@@ -35,6 +35,8 @@ extern "C"
enum
ECPGttype
,
void
*
,
void
*
,
long
,
long
);
char
*
ecpg_alloc
(
long
,
int
);
char
*
ecpg_strdup
(
const
char
*
,
int
);
const
char
*
ECPGtype_name
(
enum
ECPGttype
);
/* and some vars */
extern
struct
auto_mem
*
auto_allocs
;
...
...
src/interfaces/ecpg/include/ecpgtype.h
View file @
70130905
...
...
@@ -49,7 +49,8 @@ extern "C"
ECPGt_EORT
,
/* End of result types. */
ECPGt_NO_INDICATOR
/* no indicator */
};
/* descriptor items */
enum
ECPGdtype
{
ECPGd_count
,
...
...
@@ -72,7 +73,32 @@ extern "C"
#define IS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <= ECPGt_varchar2)
const
char
*
ECPGtype_name
(
enum
ECPGttype
);
/* A generic varchar type. */
struct
ECPGgeneric_varchar
{
int
len
;
char
arr
[
1
];
};
/* keep a list of memory we allocated for the user */
struct
auto_mem
{
void
*
pointer
;
struct
auto_mem
*
next
;
};
/* structure to store one statement */
struct
statement
{
int
lineno
;
char
*
command
;
struct
connection
*
connection
;
struct
variable
*
inlist
;
struct
variable
*
outlist
;
};
/* define this for simplicity as well as compatibility */
#ifdef __cplusplus
}
...
...
src/interfaces/ecpg/lib/Makefile.in
View file @
70130905
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.6
0 2000/02/23 19:25:42
meskes Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.6
1 2000/02/25 11:11:15
meskes Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -36,7 +36,7 @@ include $(SRCDIR)/Makefile.shlib
install
:
install-lib $(install-shlib-dep)
# Handmade dependencies in case make depend not done
ecpglib.o
:
ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
dynamic.c
ecpglib.o
:
ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
typename.o
:
typename.c ../include/ecpgtype.h
...
...
src/interfaces/ecpg/lib/prepare.c
View file @
70130905
...
...
@@ -135,7 +135,8 @@ ECPGdeallocate_all(int lineno)
if
(
!
b
)
return
false
;
}
return
true
;
}
/* return the prepared statement */
...
...
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