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
725a03eb
Commit
725a03eb
authored
Sep 27, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make GetAttributeByNum visible again for external use.
parent
c73a1935
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
src/backend/executor/execQual.c
src/backend/executor/execQual.c
+6
-5
src/include/executor/executor.h
src/include/executor/executor.h
+4
-3
No files found.
src/backend/executor/execQual.c
View file @
725a03eb
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.1
8 1997/09/22 04:19:36 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.1
9 1997/09/27 14:37:10 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -506,8 +506,11 @@ ExecEvalParam(Param *expression, ExprContext *econtext, bool *isNull)
* to use this. Ex: overpaid(EMP) might call GetAttributeByNum().
* ----------------
*/
#ifdef NOT_USED
static
char
*
/*
* This gets called from external functions, so don't make it static
* or remove it
*/
char
*
GetAttributeByNum
(
TupleTableSlot
*
slot
,
AttrNumber
attrno
,
bool
*
isNull
)
...
...
@@ -539,8 +542,6 @@ GetAttributeByNum(TupleTableSlot *slot,
return
(
char
*
)
retval
;
}
#endif
/* XXX char16 name for catalogs */
#ifdef NOT_USED
char
*
...
...
src/include/executor/executor.h
View file @
725a03eb
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: executor.h,v 1.1
3 1997/09/08 21:51:5
1 momjian Exp $
* $Id: executor.h,v 1.1
4 1997/09/27 14:37:2
1 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -80,8 +80,9 @@ ExecEvalParam(Param *expression, ExprContext *econtext,
/* stop here */
extern
char
*
GetAttributeByName
(
TupleTableSlot
*
slot
,
char
*
attname
,
bool
*
isNull
);
GetAttributeByNum
(
TupleTableSlot
*
slot
,
AttrNumber
attrno
,
bool
*
isNull
);
extern
char
*
GetAttributeByName
(
TupleTableSlot
*
slot
,
char
*
attname
,
bool
*
isNull
);
extern
Datum
ExecEvalExpr
(
Node
*
expression
,
ExprContext
*
econtext
,
bool
*
isNull
,
bool
*
isDone
);
...
...
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