Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
983ec2cb
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
983ec2cb
编写于
11月 26, 1997
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make parser functions static where possible.
上级
b7044266
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
22 deletion
+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
未找到文件。
src/backend/executor/execQual.c
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录