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
19cba0cc
Commit
19cba0cc
authored
Jan 20, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing piece of BitString support to node output functions. Expand
and remove IsA_Value macro.
parent
d1288523
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/backend/nodes/outfuncs.c
src/backend/nodes/outfuncs.c
+2
-2
src/include/nodes/nodes.h
src/include/nodes/nodes.h
+1
-4
No files found.
src/backend/nodes/outfuncs.c
View file @
19cba0cc
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.13
7 2001/01/08 00:31:43 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.13
8 2001/01/20 00:15:58 petere
Exp $
*
*
* NOTES
* NOTES
* Every (plan) node in POSTGRES has an associated "out" routine which
* Every (plan) node in POSTGRES has an associated "out" routine which
...
@@ -1477,7 +1477,7 @@ _outNode(StringInfo str, void *obj)
...
@@ -1477,7 +1477,7 @@ _outNode(StringInfo str, void *obj)
}
}
appendStringInfoChar
(
str
,
')'
);
appendStringInfoChar
(
str
,
')'
);
}
}
else
if
(
IsA
_Value
(
obj
))
else
if
(
IsA
(
obj
,
Integer
)
||
IsA
(
obj
,
Float
)
||
IsA
(
obj
,
String
)
||
IsA
(
obj
,
BitString
))
{
{
/* nodeRead does not want to see { } around these! */
/* nodeRead does not want to see { } around these! */
_outValue
(
str
,
obj
);
_outValue
(
str
,
obj
);
...
...
src/include/nodes/nodes.h
View file @
19cba0cc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Id: nodes.h,v 1.8
4 2000/11/24 20:16:40
petere Exp $
* $Id: nodes.h,v 1.8
5 2001/01/20 00:15:59
petere Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -270,9 +270,6 @@ typedef struct Node
...
@@ -270,9 +270,6 @@ typedef struct Node
(IsA(jp, Join) || IsA(jp, NestLoop) || \
(IsA(jp, Join) || IsA(jp, NestLoop) || \
IsA(jp, MergeJoin) || IsA(jp, HashJoin))
IsA(jp, MergeJoin) || IsA(jp, HashJoin))
#define IsA_Value(t) \
(IsA(t, Integer) || IsA(t, Float) || IsA(t, String))
/* ----------------------------------------------------------------
/* ----------------------------------------------------------------
* extern declarations follow
* extern declarations follow
* ----------------------------------------------------------------
* ----------------------------------------------------------------
...
...
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