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
bf1d9aeb
Commit
bf1d9aeb
authored
Sep 06, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanups.
parent
5d68d3e9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
348 additions
and
602 deletions
+348
-602
src/backend/executor/spi.c
src/backend/executor/spi.c
+342
-587
src/include/executor/spi.h
src/include/executor/spi.h
+6
-15
No files found.
src/backend/executor/spi.c
View file @
bf1d9aeb
This diff is collapsed.
Click to expand it.
src/include/executor/spi.h
View file @
bf1d9aeb
...
...
@@ -52,7 +52,6 @@ typedef struct {
#define SPI_ERROR_NOATTRIBUTE -9
#define SPI_ERROR_NOOUTFUNC -10
#define SPI_ERROR_TYPUNKNOWN -11
#define SPI_ERROR_NOENTRY -12
#define SPI_OK_CONNECT 1
#define SPI_OK_FINISH 2
...
...
@@ -65,24 +64,16 @@ typedef struct {
#define SPI_OK_UPDATE 9
#define SPI_OK_CURSOR 10
#define SPI_DSPACE_LOCAL 0
#define SPI_DSPACE_XACT 1
#define SPI_DSPACE_SESSION 2
extern
uint32
SPI_processed
;
extern
SPITupleTable
*
SPI_tuptable
;
extern
int
SPI_
error
;
extern
int
SPI_
result
;
extern
int
SPI_connect
(
char
*
ident
);
extern
int
SPI_connect
(
void
);
extern
int
SPI_finish
(
void
);
extern
int
SPI_exec
(
char
*
src
);
extern
int
SPI_execn
(
char
*
src
,
int
tcount
);
extern
int
SPI_execp
(
int
pid
,
char
**
values
,
char
*
Nulls
);
extern
int
SPI_prepare
(
char
*
src
,
int
nargs
,
Oid
*
argtypes
);
extern
int
SPI_expplan
(
int
dspace
,
int
start
,
int
count
);
extern
int
SPI_impplan
(
int
dspace
,
int
start
,
int
count
);
extern
int
SPI_expdata
(
int
dspace
,
int
count
,
void
**
data
,
int
*
len
);
extern
int
SPI_impdata
(
int
dspace
,
int
start
,
int
count
,
void
**
data
,
int
**
len
);
extern
int
SPI_exec
(
char
*
src
,
int
tcount
);
extern
int
SPI_execp
(
void
*
plan
,
char
**
values
,
char
*
Nulls
,
int
tcount
);
extern
void
*
SPI_prepare
(
char
*
src
,
int
nargs
,
Oid
*
argtypes
);
extern
void
*
SPI_saveplan
(
void
*
plan
);
extern
int
SPI_fnumber
(
TupleDesc
tupdesc
,
char
*
fname
);
extern
char
*
SPI_getvalue
(
HeapTuple
tuple
,
TupleDesc
tupdesc
,
int
fnumber
);
...
...
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