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
d8933d5c
Commit
d8933d5c
authored
Aug 29, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New results destination for SPI manager.
parent
0d0254d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
src/backend/tcop/dest.c
src/backend/tcop/dest.c
+7
-1
src/include/tcop/dest.h
src/include/tcop/dest.h
+3
-2
No files found.
src/backend/tcop/dest.c
View file @
d8933d5c
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.
9 1997/08/28 05:05:43
vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.
10 1997/08/29 09:04:18
vadim Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -54,6 +54,8 @@ donothing(HeapTuple tuple, TupleDesc attrdesc)
{
}
extern
void
spi_printtup
(
HeapTuple
tuple
,
TupleDesc
tupdesc
);
void
(
*
DestToFunction
(
CommandDest
dest
))(
HeapTuple
,
TupleDesc
)
{
switch
(
dest
)
{
...
...
@@ -72,6 +74,10 @@ void (*DestToFunction(CommandDest dest))(HeapTuple, TupleDesc)
case
Debug
:
return
debugtup
;
break
;
case
SPI
:
return
spi_printtup
;
break
;
case
None
:
default:
...
...
src/include/tcop/dest.h
View file @
d8933d5c
...
...
@@ -26,7 +26,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dest.h,v 1.
7 1997/08/27 09:05:09
vadim Exp $
* $Id: dest.h,v 1.
8 1997/08/29 09:06:27
vadim Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -47,8 +47,9 @@ typedef enum {
Remote
,
/* results sent to frontend process */
CopyBegin
,
/* results sent to frontend process but are strings */
CopyEnd
,
/* results sent to frontend process but are strings */
RemoteInternal
/* results sent to frontend process in internal
RemoteInternal
,
/* results sent to frontend process in internal
(binary) form */
SPI
/* results sent to SPI manager */
}
CommandDest
;
...
...
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