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
983ec2cb
Commit
983ec2cb
authored
Nov 26, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make parser functions static where possible.
parent
b7044266
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
22 deletions
+13
-22
src/backend/executor/execQual.c
src/backend/executor/execQual.c
+7
-15
src/backend/utils/time/tqual.c
src/backend/utils/time/tqual.c
+3
-4
src/include/executor/executor.h
src/include/executor/executor.h
+3
-3
No files found.
src/backend/executor/execQual.c
View file @
983ec2cb
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.
19 1997/09/27 14:37:1
0 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.
20 1997/11/26 03:54:0
0 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -70,24 +70,19 @@ int execConstLen;
/* static functions decls */
static
Datum
ExecEvalAggreg
(
Aggreg
*
agg
,
ExprContext
*
econtext
,
bool
*
isNull
);
static
Datum
ExecEvalArrayRef
(
ArrayRef
*
arrayRef
,
ExprContext
*
econtext
,
static
Datum
ExecEvalArrayRef
(
ArrayRef
*
arrayRef
,
ExprContext
*
econtext
,
bool
*
isNull
,
bool
*
isDone
);
static
Datum
ExecEvalAnd
(
Expr
*
andExpr
,
ExprContext
*
econtext
,
bool
*
isNull
);
static
Datum
ExecEvalFunc
(
Expr
*
funcClause
,
ExprContext
*
econtext
,
static
Datum
ExecEvalFunc
(
Expr
*
funcClause
,
ExprContext
*
econtext
,
bool
*
isNull
,
bool
*
isDone
);
static
void
ExecEvalFuncArgs
(
FunctionCachePtr
fcache
,
ExprContext
*
econtext
,
static
void
ExecEvalFuncArgs
(
FunctionCachePtr
fcache
,
ExprContext
*
econtext
,
List
*
argList
,
Datum
argV
[],
bool
*
argIsDone
);
static
Datum
ExecEvalNot
(
Expr
*
notclause
,
ExprContext
*
econtext
,
bool
*
isNull
);
static
Datum
ExecEvalOper
(
Expr
*
opClause
,
ExprContext
*
econtext
,
static
Datum
ExecEvalOper
(
Expr
*
opClause
,
ExprContext
*
econtext
,
bool
*
isNull
);
static
Datum
ExecEvalOr
(
Expr
*
orExpr
,
ExprContext
*
econtext
,
bool
*
isNull
);
static
Datum
ExecEvalVar
(
Var
*
variable
,
ExprContext
*
econtext
,
bool
*
isNull
);
static
Datum
ExecMakeFunctionResult
(
Node
*
node
,
List
*
arguments
,
static
Datum
ExecMakeFunctionResult
(
Node
*
node
,
List
*
arguments
,
ExprContext
*
econtext
,
bool
*
isNull
,
bool
*
isDone
);
static
bool
ExecQualClause
(
Node
*
clause
,
ExprContext
*
econtext
);
...
...
@@ -506,10 +501,7 @@ ExecEvalParam(Param *expression, ExprContext *econtext, bool *isNull)
* to use this. Ex: overpaid(EMP) might call GetAttributeByNum().
* ----------------
*/
/*
* This gets called from external functions, so don't make it static
* or remove it
*/
/* static but gets called from external functions */
char
*
GetAttributeByNum
(
TupleTableSlot
*
slot
,
AttrNumber
attrno
,
...
...
src/backend/utils/time/tqual.c
View file @
983ec2cb
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.1
2 1997/11/26 03:42:5
8 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.1
3 1997/11/26 03:54:1
8 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -24,8 +24,6 @@
#include "utils/palloc.h"
#include "utils/tqual.h"
static
bool
heapisoverride
(
void
);
extern
bool
PostgresIsInitialized
;
/*
...
...
@@ -51,7 +49,8 @@ setheapoverride(bool on)
}
}
static
bool
/* static, but called in debug macro */
bool
heapisoverride
()
{
if
(
!
TransactionIdIsValid
(
HeapSpecialTransactionId
))
...
...
src/include/executor/executor.h
View file @
983ec2cb
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: executor.h,v 1.1
5 1997/11/20 23:23:39
momjian Exp $
* $Id: executor.h,v 1.1
6 1997/11/26 03:54:23
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -79,8 +79,8 @@ ExecEvalParam(Param *expression, ExprContext *econtext,
bool
*
isNull
);
/* stop here */
extern
char
*
GetAttributeByNum
(
TupleTableSlot
*
slot
,
AttrNumber
attrno
,
bool
*
isNull
);
extern
char
*
GetAttributeByNum
(
TupleTableSlot
*
slot
,
AttrNumber
attrno
,
bool
*
isNull
);
extern
char
*
GetAttributeByName
(
TupleTableSlot
*
slot
,
char
*
attname
,
bool
*
isNull
);
extern
Datum
...
...
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