Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
df43800f
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,发现更多精彩内容 >>
提交
df43800f
编写于
6月 15, 2000
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Clean up #include's.
上级
e362d4e1
变更
50
隐藏空白更改
内联
并排
Showing
50 changed file
with
99 addition
and
93 deletion
+99
-93
src/backend/access/gist/gist.c
src/backend/access/gist/gist.c
+2
-1
src/backend/access/nbtree/nbtcompare.c
src/backend/access/nbtree/nbtcompare.c
+2
-1
src/backend/access/rtree/rtget.c
src/backend/access/rtree/rtget.c
+3
-3
src/backend/catalog/heap.c
src/backend/catalog/heap.c
+3
-1
src/backend/catalog/index.c
src/backend/catalog/index.c
+2
-1
src/backend/catalog/indexing.c
src/backend/catalog/indexing.c
+2
-1
src/backend/commands/cluster.c
src/backend/commands/cluster.c
+2
-1
src/backend/commands/copy.c
src/backend/commands/copy.c
+2
-1
src/backend/commands/indexcmds.c
src/backend/commands/indexcmds.c
+2
-1
src/backend/executor/execUtils.c
src/backend/executor/execUtils.c
+2
-1
src/backend/executor/nodeAgg.c
src/backend/executor/nodeAgg.c
+2
-1
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/createplan.c
+2
-1
src/backend/optimizer/plan/planner.c
src/backend/optimizer/plan/planner.c
+2
-1
src/backend/optimizer/util/plancat.c
src/backend/optimizer/util/plancat.c
+3
-2
src/backend/parser/parse_agg.c
src/backend/parser/parse_agg.c
+2
-1
src/backend/parser/parse_clause.c
src/backend/parser/parse_clause.c
+2
-1
src/backend/parser/parse_coerce.c
src/backend/parser/parse_coerce.c
+2
-1
src/backend/parser/parse_expr.c
src/backend/parser/parse_expr.c
+2
-1
src/backend/parser/parse_func.c
src/backend/parser/parse_func.c
+2
-1
src/backend/parser/parse_target.c
src/backend/parser/parse_target.c
+2
-1
src/backend/rewrite/rewriteHandler.c
src/backend/rewrite/rewriteHandler.c
+2
-1
src/backend/storage/file/buffile.c
src/backend/storage/file/buffile.c
+2
-1
src/backend/utils/adt/cash.c
src/backend/utils/adt/cash.c
+2
-1
src/backend/utils/adt/date.c
src/backend/utils/adt/date.c
+6
-2
src/backend/utils/adt/formatting.c
src/backend/utils/adt/formatting.c
+5
-2
src/backend/utils/adt/numeric.c
src/backend/utils/adt/numeric.c
+2
-1
src/backend/utils/adt/selfuncs.c
src/backend/utils/adt/selfuncs.c
+2
-1
src/backend/utils/adt/varbit.c
src/backend/utils/adt/varbit.c
+2
-1
src/backend/utils/adt/varchar.c
src/backend/utils/adt/varchar.c
+2
-1
src/include/access/ibit.h
src/include/access/ibit.h
+1
-3
src/include/access/nbtree.h
src/include/access/nbtree.h
+1
-2
src/include/access/rtree.h
src/include/access/rtree.h
+3
-3
src/include/commands/sequence.h
src/include/commands/sequence.h
+0
-1
src/include/commands/user.h
src/include/commands/user.h
+1
-2
src/include/executor/nodeHashjoin.h
src/include/executor/nodeHashjoin.h
+1
-2
src/include/libpq/hba.h
src/include/libpq/hba.h
+2
-4
src/include/libpq/libpq-be.h
src/include/libpq/libpq-be.h
+2
-1
src/include/optimizer/internal.h
src/include/optimizer/internal.h
+1
-3
src/include/parser/parse_expr.h
src/include/parser/parse_expr.h
+1
-2
src/include/regex/regex2.h
src/include/regex/regex2.h
+2
-0
src/include/regex/utils.h
src/include/regex/utils.h
+2
-0
src/include/storage/buffile.h
src/include/storage/buffile.h
+1
-3
src/include/storage/bufmgr.h
src/include/storage/bufmgr.h
+1
-5
src/include/storage/sinvaladt.h
src/include/storage/sinvaladt.h
+1
-2
src/include/tcop/tcopprot.h
src/include/tcop/tcopprot.h
+1
-2
src/include/utils/builtins.h
src/include/utils/builtins.h
+1
-9
src/include/utils/catcache.h
src/include/utils/catcache.h
+1
-2
src/include/utils/ps_status.h
src/include/utils/ps_status.h
+0
-2
src/include/utils/tuplesort.h
src/include/utils/tuplesort.h
+1
-4
src/tools/pginclude/pgrminclude
src/tools/pginclude/pgrminclude
+7
-7
未找到文件。
src/backend/access/gist/gist.c
浏览文件 @
df43800f
...
...
@@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.5
7 2000/06/14 05:24:35 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.5
8 2000/06/15 03:31:53 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -18,6 +18,7 @@
#include "access/gistscan.h"
#include "access/heapam.h"
#include "catalog/index.h"
#include "catalog/pg_index.h"
#include "executor/executor.h"
#include "miscadmin.h"
#include "utils/syscache.h"
...
...
src/backend/access/nbtree/nbtcompare.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.3
6 2000/06/09 01:11:01 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.3
7 2000/06/15 03:31:54 momjian
Exp $
*
* NOTES
*
...
...
@@ -32,6 +32,7 @@
#include "postgres.h"
#include "utils/nabstime.h"
#include "utils/builtins.h"
Datum
...
...
src/backend/access/rtree/rtget.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.2
1 2000/06/13 07:34:48 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.2
2 2000/06/15 03:32:00 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -16,9 +16,9 @@
#include "postgres.h"
#include "access/iqual.h"
#include "access/relscan.h"
#include "access/rtree.h"
#include "storage/off.h"
static
OffsetNumber
findnext
(
IndexScanDesc
s
,
Page
p
,
OffsetNumber
n
,
ScanDirection
dir
);
...
...
src/backend/catalog/heap.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.13
0 2000/05/30 00:49:42
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.13
1 2000/06/15 03:32:01
momjian Exp $
*
*
* INTERFACE ROUTINES
...
...
@@ -38,6 +38,7 @@
#include "catalog/indexing.h"
#include "catalog/pg_attrdef.h"
#include "catalog/pg_inherits.h"
#include "catalog/pg_index.h"
#include "catalog/pg_ipl.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_relcheck.h"
...
...
@@ -54,6 +55,7 @@
#include "parser/parse_expr.h"
#include "parser/parse_relation.h"
#include "parser/parse_target.h"
#include "parser/parse_type.h"
#include "rewrite/rewriteRemove.h"
#include "storage/smgr.h"
#include "utils/builtins.h"
...
...
src/backend/catalog/index.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.11
4 2000/06/08 22:36:59
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.11
5 2000/06/15 03:32:02
momjian Exp $
*
*
* INTERFACE ROUTINES
...
...
@@ -29,6 +29,7 @@
#include "catalog/heap.h"
#include "catalog/index.h"
#include "catalog/indexing.h"
#include "catalog/pg_index.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "commands/comment.h"
...
...
src/backend/catalog/indexing.c
浏览文件 @
df43800f
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.6
4 2000/06/07 04:09:33
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.6
5 2000/06/15 03:32:02
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -22,6 +22,7 @@
#include "catalog/catname.h"
#include "catalog/index.h"
#include "catalog/indexing.h"
#include "catalog/pg_index.h"
#include "miscadmin.h"
#include "utils/fmgroids.h"
#include "utils/syscache.h"
...
...
src/backend/commands/cluster.c
浏览文件 @
df43800f
...
...
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.5
4 2000/05/30 00:49:43
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.5
5 2000/06/15 03:32:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -26,6 +26,7 @@
#include "access/heapam.h"
#include "catalog/heap.h"
#include "catalog/index.h"
#include "catalog/pg_index.h"
#include "catalog/pg_proc.h"
#include "commands/cluster.h"
#include "commands/rename.h"
...
...
src/backend/commands/copy.c
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.11
3 2000/06/14 18:17:25 petere
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.11
4 2000/06/15 03:32:07 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -21,6 +21,7 @@
#include "access/heapam.h"
#include "catalog/catname.h"
#include "catalog/index.h"
#include "catalog/pg_index.h"
#include "catalog/pg_shadow.h"
#include "catalog/pg_type.h"
#include "commands/copy.h"
...
...
src/backend/commands/indexcmds.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.2
8 2000/05/30 00:49:43
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.2
9 2000/06/15 03:32:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -22,6 +22,7 @@
#include "catalog/index.h"
#include "catalog/pg_amop.h"
#include "catalog/pg_database.h"
#include "catalog/pg_index.h"
#include "catalog/pg_opclass.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_proc.h"
...
...
src/backend/executor/execUtils.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.5
7 2000/05/30 00:49:44
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.5
8 2000/06/15 03:32:09
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -48,6 +48,7 @@
#include "catalog/catname.h"
#include "catalog/index.h"
#include "catalog/catalog.h"
#include "catalog/pg_index.h"
#include "executor/execdebug.h"
#include "executor/executor.h"
#include "miscadmin.h"
...
...
src/backend/executor/nodeAgg.c
浏览文件 @
df43800f
...
...
@@ -32,7 +32,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAgg.c,v 1.6
6 2000/05/30 04:24:42 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAgg.c,v 1.6
7 2000/06/15 03:32:09 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -47,6 +47,7 @@
#include "optimizer/clauses.h"
#include "parser/parse_expr.h"
#include "parser/parse_oper.h"
#include "parser/parse_type.h"
#include "utils/syscache.h"
#include "utils/tuplesort.h"
...
...
src/backend/optimizer/plan/createplan.c
浏览文件 @
df43800f
...
...
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.9
1 2000/06/08 22:37:11
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.9
2 2000/06/15 03:32:13
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -18,6 +18,7 @@
#include "postgres.h"
#include "catalog/pg_index.h"
#include "nodes/makefuncs.h"
#include "nodes/nodeFuncs.h"
#include "optimizer/clauses.h"
...
...
src/backend/optimizer/plan/planner.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.8
2 2000/06/09 03:17:13 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.8
3 2000/06/15 03:32:13 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -31,6 +31,7 @@
#include "optimizer/tlist.h"
#include "optimizer/var.h"
#include "parser/parse_expr.h"
#include "parser/parse_type.h"
#include "utils/lsyscache.h"
...
...
src/backend/optimizer/util/plancat.c
浏览文件 @
df43800f
...
...
@@ -10,9 +10,9 @@
*
* IDENTIFICATION
<<<<<<< plancat.c
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.5
5 2000/06/09 03:17:12 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.5
6 2000/06/15 03:32:16 momjian
Exp $
=======
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.5
5 2000/06/09 03:17:12 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.5
6 2000/06/15 03:32:16 momjian
Exp $
>>>>>>> 1.53
*
*-------------------------------------------------------------------------
...
...
@@ -27,6 +27,7 @@
#include "catalog/catname.h"
#include "catalog/pg_amop.h"
#include "catalog/pg_inherits.h"
#include "catalog/pg_index.h"
#include "optimizer/plancat.h"
#include "parser/parsetree.h"
#include "utils/builtins.h"
...
...
src/backend/parser/parse_agg.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.3
7 2000/04/12 17:15:26
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.3
8 2000/06/15 03:32:19
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -21,6 +21,7 @@
#include "parser/parse_coerce.h"
#include "parser/parse_expr.h"
#include "parser/parsetree.h"
#include "parser/parse_type.h"
#include "utils/lsyscache.h"
#include "utils/syscache.h"
...
...
src/backend/parser/parse_clause.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.6
4 2000/06/09 01:44:18
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.6
5 2000/06/15 03:32:19
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -25,6 +25,7 @@
#include "parser/parse_oper.h"
#include "parser/parse_relation.h"
#include "parser/parse_target.h"
#include "parser/parse_type.h"
#define ORDER_CLAUSE 0
#define GROUP_CLAUSE 1
...
...
src/backend/parser/parse_coerce.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.4
3 2000/05/30 00:49:50
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.4
4 2000/06/15 03:32:19
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -19,6 +19,7 @@
#include "parser/parse_coerce.h"
#include "parser/parse_expr.h"
#include "parser/parse_func.h"
#include "parser/parse_type.h"
#include "utils/builtins.h"
#include "utils/syscache.h"
...
...
src/backend/parser/parse_expr.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.8
0 2000/06/05 07:28:43 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.8
1 2000/06/15 03:32:20 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -28,6 +28,7 @@
#include "parser/parse_oper.h"
#include "parser/parse_relation.h"
#include "parser/parse_target.h"
#include "parser/parse_type.h"
#include "utils/builtins.h"
#include "utils/syscache.h"
...
...
src/backend/parser/parse_func.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.8
3 2000/06/11 20:08:00 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.8
4 2000/06/15 03:32:20 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -29,6 +29,7 @@
#include "parser/parse_expr.h"
#include "parser/parse_func.h"
#include "parser/parse_relation.h"
#include "parser/parse_type.h"
#include "utils/acl.h"
#include "utils/builtins.h"
#include "utils/fmgroids.h"
...
...
src/backend/parser/parse_target.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.
59 2000/05/30 00:49:5
0 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.
60 2000/06/15 03:32:2
0 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -20,6 +20,7 @@
#include "parser/parse_func.h"
#include "parser/parse_relation.h"
#include "parser/parse_target.h"
#include "parser/parse_type.h"
static
List
*
ExpandAllTables
(
ParseState
*
pstate
);
...
...
src/backend/rewrite/rewriteHandler.c
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.7
5 2000/06/12 19:40:4
2 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.7
6 2000/06/15 03:32:2
2 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -26,6 +26,7 @@
#include "parser/parse_oper.h"
#include "parser/parse_target.h"
#include "parser/parsetree.h"
#include "parser/parse_type.h"
#include "rewrite/locks.h"
#include "rewrite/rewriteManip.h"
#include "utils/acl.h"
...
...
src/backend/storage/file/buffile.c
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.
6 2000/06/08 22:37:22
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.
7 2000/06/15 03:32:26
momjian Exp $
*
* NOTES:
*
...
...
@@ -36,6 +36,7 @@
#include "postgres.h"
#include "storage/fd.h"
#include "storage/buffile.h"
/*
...
...
src/backend/utils/adt/cash.c
浏览文件 @
df43800f
...
...
@@ -9,11 +9,12 @@
* workings can be found in the book "Software Solutions in C" by
* Dale Schumacher, Academic Press, ISBN: 0-12-632360-7.
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.
39 2000/06/14 18:17:42 petere
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.
40 2000/06/15 03:32:28 momjian
Exp $
*/
#include <limits.h>
#include <ctype.h>
#include <math.h>
#include <locale.h>
#include "postgres.h"
...
...
src/backend/utils/adt/date.c
浏览文件 @
df43800f
...
...
@@ -8,21 +8,25 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.4
5 2000/06/09 01:11:08 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.4
6 2000/06/15 03:32:28 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#include <limits.h>
#include <time.h>
#include "postgres.h"
#ifdef HAVE_FLOAT_H
#include <float.h>
#endif
#include "miscadmin.h"
#include "utils/date.h"
#include "utils/datetime.h"
#include "utils/nabstime.h"
#include "utils/builtins.h"
static
int
date2tm
(
DateADT
dateVal
,
int
*
tzp
,
struct
tm
*
tm
,
double
*
fsec
,
char
**
tzn
);
date2tm
(
DateADT
dateVal
,
int
*
tzp
,
struct
tm
*
tm
,
double
*
fsec
,
char
**
tzn
);
/*****************************************************************************
...
...
src/backend/utils/adt/formatting.c
浏览文件 @
df43800f
/* -----------------------------------------------------------------------
* formatting.c
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.1
3 2000/06/14 18:17:42 petere
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.1
4 2000/06/15 03:32:28 momjian
Exp $
*
*
* Portions Copyright (c) 1999-2000, PostgreSQL, Inc
...
...
@@ -67,8 +67,11 @@
#include "postgres.h"
#include "utils/builtins.h"
#include "utils/pg_locale.h"
#include "utils/date.h"
#include "utils/datetime.h"
#include "utils/formatting.h"
#include "utils/int8.h"
#include "utils/pg_locale.h"
/* ----------
* Routines type
...
...
src/backend/utils/adt/numeric.c
浏览文件 @
df43800f
...
...
@@ -5,7 +5,7 @@
*
* 1998 Jan Wieck
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.3
0 2000/06/14 18:17:44 petere
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.3
1 2000/06/15 03:32:29 momjian
Exp $
*
* ----------
*/
...
...
@@ -19,6 +19,7 @@
#include <sys/types.h>
#include "utils/builtins.h"
#include "utils/int8.h"
#include "utils/numeric.h"
/* ----------
...
...
src/backend/utils/adt/selfuncs.c
浏览文件 @
df43800f
...
...
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.7
2 2000/06/14 18:17:45 petere
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.7
3 2000/06/15 03:32:29 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -37,6 +37,7 @@
#include "parser/parse_func.h"
#include "parser/parse_oper.h"
#include "utils/builtins.h"
#include "utils/date.h"
#include "utils/int8.h"
#include "utils/lsyscache.h"
#include "utils/syscache.h"
...
...
src/backend/utils/adt/varbit.c
浏览文件 @
df43800f
...
...
@@ -4,7 +4,7 @@
* Functions for the built-in type bit() and varying bit().
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.
2 2000/04/12 17:15:52
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.
3 2000/06/15 03:32:29
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -33,6 +33,7 @@
#endif
#include "fmgr.h"
#include "utils/builtins.h"
#include "utils/varbit.h"
#include "access/htup.h"
/*
...
...
src/backend/utils/adt/varchar.c
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.6
4 2000/06/13 07:35:08 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.6
5 2000/06/15 03:32:29 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -16,6 +16,7 @@
#include "postgres.h"
#include "catalog/pg_type.h"
#include "utils/acl.h"
#include "utils/builtins.h"
#include "utils/fmgroids.h"
...
...
src/include/access/ibit.h
浏览文件 @
df43800f
...
...
@@ -7,15 +7,13 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: ibit.h,v 1.1
3 2000/04/12 17:16:26
momjian Exp $
* $Id: ibit.h,v 1.1
4 2000/06/15 03:32:31
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef IBIT_H
#define IBIT_H
#include "catalog/pg_index.h"
typedef
struct
IndexAttributeBitMapData
{
bits8
bits
[(
INDEX_MAX_KEYS
+
8
-
1
)
/
8
];
...
...
src/include/access/nbtree.h
浏览文件 @
df43800f
...
...
@@ -7,14 +7,13 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: nbtree.h,v 1.3
7 2000/06/13 07:35:17 tgl
Exp $
* $Id: nbtree.h,v 1.3
8 2000/06/15 03:32:31 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef NBTREE_H
#define NBTREE_H
#include "access/funcindex.h"
#include "access/itup.h"
#include "access/relscan.h"
#include "access/sdir.h"
...
...
src/include/access/rtree.h
浏览文件 @
df43800f
...
...
@@ -7,17 +7,17 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: rtree.h,v 1.1
8 2000/06/13 07:35:17 tgl
Exp $
* $Id: rtree.h,v 1.1
9 2000/06/15 03:32:31 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RTREE_H
#define RTREE_H
#include "access/funcindex.h"
#include "access/itup.h"
#include "access/relscan.h"
#include "access/sdir.h"
#include "access/skey.h"
#include "utils/rel.h"
/* see rtstrat.c for what all this is about */
#define RTNStrategies 8
...
...
src/include/commands/sequence.h
浏览文件 @
df43800f
...
...
@@ -9,7 +9,6 @@
#ifndef SEQUENCE_H
#define SEQUENCE_H
#include "fmgr.h"
#include "nodes/parsenodes.h"
/*
...
...
src/include/commands/user.h
浏览文件 @
df43800f
...
...
@@ -3,7 +3,7 @@
* user.h
*
*
* $Id: user.h,v 1.1
2 2000/05/29 01:59:11 tgl
Exp $
* $Id: user.h,v 1.1
3 2000/06/15 03:32:35 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -11,7 +11,6 @@
#define USER_H
#include "nodes/parsenodes.h"
#include "access/htup.h"
extern
void
CreateUser
(
CreateUserStmt
*
stmt
);
extern
void
AlterUser
(
AlterUserStmt
*
stmt
);
...
...
src/include/executor/nodeHashjoin.h
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: nodeHashjoin.h,v 1.1
7 2000/01/26 05:58:05
momjian Exp $
* $Id: nodeHashjoin.h,v 1.1
8 2000/06/15 03:32:36
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,7 +15,6 @@
#define NODEHASHJOIN_H
#include "nodes/plannodes.h"
#include "storage/buffile.h"
extern
TupleTableSlot
*
ExecHashJoin
(
HashJoin
*
node
);
extern
bool
ExecInitHashJoin
(
HashJoin
*
node
,
EState
*
estate
,
Plan
*
parent
);
...
...
src/include/libpq/hba.h
浏览文件 @
df43800f
...
...
@@ -4,7 +4,7 @@
* Interface to hba.c
*
*
* $Id: hba.h,v 1.1
7 2000/04/12 17:16:35
momjian Exp $
* $Id: hba.h,v 1.1
8 2000/06/15 03:32:42
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -13,8 +13,6 @@
#include <netinet/in.h>
#include "libpq/pqcomm.h"
#define CONF_FILE "pg_hba.conf"
/* Name of the config file */
...
...
@@ -42,7 +40,7 @@ typedef enum UserAuth
typedef
struct
Port
hbaPort
;
int
hba_getauthmethod
(
hbaPort
*
port
);
int
hba_getauthmethod
(
hbaPort
*
port
);
int
authident
(
struct
sockaddr_in
*
raddr
,
struct
sockaddr_in
*
laddr
,
const
char
*
postgres_username
,
const
char
*
auth_arg
);
...
...
src/include/libpq/libpq-be.h
浏览文件 @
df43800f
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: libpq-be.h,v 1.
19 2000/04/12 17:16:36
momjian Exp $
* $Id: libpq-be.h,v 1.
20 2000/06/15 03:32:42
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -18,6 +18,7 @@
#include <sys/types.h>
#include "libpq/hba.h"
#include "libpq/pqcomm.h"
#ifdef USE_SSL
#include <openssl/ssl.h>
...
...
src/include/optimizer/internal.h
浏览文件 @
df43800f
...
...
@@ -7,15 +7,13 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: internal.h,v 1.2
6 2000/01/26 05:58:20
momjian Exp $
* $Id: internal.h,v 1.2
7 2000/06/15 03:32:51
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INTERNAL_H
#define INTERNAL_H
#include "catalog/pg_index.h"
/*
* ---------- SHARED MACROS
*
...
...
src/include/parser/parse_expr.h
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: parse_expr.h,v 1.1
8 2000/03/17 05:29:07 tgl
Exp $
* $Id: parse_expr.h,v 1.1
9 2000/06/15 03:32:55 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,7 +15,6 @@
#define PARSE_EXPR_H
#include "parser/parse_node.h"
#include "parser/parse_type.h"
#define EXPR_COLUMN_FIRST 1
#define EXPR_RELATION_FIRST 2
...
...
src/include/regex/regex2.h
浏览文件 @
df43800f
...
...
@@ -39,6 +39,8 @@
#include "postgres.h"
#include "limits.h"
/*
* First, the stuff that ends up in the outside-world include file
*/
...
...
src/include/regex/utils.h
浏览文件 @
df43800f
...
...
@@ -39,6 +39,8 @@
#include "postgres.h"
#include "limits.h"
/* utility definitions */
#define DUPMAX 100000000
/* xxx is this right? */
#define INFINITY (DUPMAX + 1)
...
...
src/include/storage/buffile.h
浏览文件 @
df43800f
...
...
@@ -18,7 +18,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: buffile.h,v 1.
5 2000/06/08 22:37:54
momjian Exp $
* $Id: buffile.h,v 1.
6 2000/06/15 03:32:59
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -26,8 +26,6 @@
#ifndef BUFFILE_H
#define BUFFILE_H
#include "storage/fd.h"
/* BufFile is an opaque type whose details are not known outside buffile.c. */
typedef
struct
BufFile
BufFile
;
...
...
src/include/storage/bufmgr.h
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: bufmgr.h,v 1.3
8 2000/05/19 03:22:26 tgl
Exp $
* $Id: bufmgr.h,v 1.3
9 2000/06/15 03:33:00 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,11 +15,7 @@
#define BUFMGR_H
#include "storage/ipc.h"
#include "storage/block.h"
#include "storage/buf.h"
#include "storage/buf_internals.h"
#include "utils/rel.h"
/*
* the maximum size of a disk block for any possible installation.
...
...
src/include/storage/sinvaladt.h
浏览文件 @
df43800f
...
...
@@ -7,14 +7,13 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: sinvaladt.h,v 1.2
1 2000/04/12 17:16:52
momjian Exp $
* $Id: sinvaladt.h,v 1.2
2 2000/06/15 03:33:00
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SINVALADT_H
#define SINVALADT_H
#include "storage/ipc.h"
#include "storage/itemptr.h"
#include "storage/shmem.h"
...
...
src/include/tcop/tcopprot.h
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: tcopprot.h,v 1.
29 2000/06/08 22:37:56
momjian Exp $
* $Id: tcopprot.h,v 1.
30 2000/06/15 03:33:04
momjian Exp $
*
* OLD COMMENTS
* This file was created so that other c files could get the two
...
...
@@ -21,7 +21,6 @@
#include <setjmp.h>
#include "executor/execdesc.h"
#include "parser/parse_node.h"
extern
DLLIMPORT
sigjmp_buf
Warn_restart
;
extern
bool
Warn_restart_ready
;
...
...
src/include/utils/builtins.h
浏览文件 @
df43800f
...
...
@@ -7,27 +7,19 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: builtins.h,v 1.11
6 2000/06/13 07:35:30 tgl
Exp $
* $Id: builtins.h,v 1.11
7 2000/06/15 03:33:10 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BUILTINS_H
#define BUILTINS_H
#include "fmgr.h"
#include "nodes/relation.h"
/* for amcostestimate parameters */
#include "storage/itemptr.h"
#include "utils/array.h"
#include "utils/inet.h"
#include "utils/int8.h"
#include "utils/geo_decls.h"
#include "utils/numeric.h"
#include "utils/datetime.h"
#include "utils/timestamp.h"
#include "utils/nabstime.h"
#include "utils/date.h"
#include "utils/lztext.h"
#include "utils/varbit.h"
/*
* Defined in adt/
...
...
src/include/utils/catcache.h
浏览文件 @
df43800f
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: catcache.h,v 1.2
2 2000/06/05 07:29:07 tgl
Exp $
* $Id: catcache.h,v 1.2
3 2000/06/15 03:33:10 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,7 +17,6 @@
/* #define CACHEDEBUG turns DEBUG elogs on */
#include "access/htup.h"
#include "fmgr.h"
#include "lib/dllist.h"
/*
...
...
src/include/utils/ps_status.h
浏览文件 @
df43800f
...
...
@@ -10,8 +10,6 @@
#ifndef PS_STATUS_H
#define PS_STATUS_H
#include "libpq/libpq-be.h"
void
init_ps_display
(
int
argc
,
char
*
argv
[],
const
char
*
username
,
const
char
*
dbname
,
...
...
src/include/utils/tuplesort.h
浏览文件 @
df43800f
...
...
@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: tuplesort.h,v 1.
4 2000/04/12 17:16:56
momjian Exp $
* $Id: tuplesort.h,v 1.
5 2000/06/15 03:33:11
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -22,9 +22,6 @@
#include "access/htup.h"
#include "access/itup.h"
#include "access/skey.h"
#include "access/tupdesc.h"
#include "utils/rel.h"
/* Tuplesortstate is an opaque type whose details are not known outside tuplesort.c. */
...
...
src/tools/pginclude/pgrminclude
浏览文件 @
df43800f
...
...
@@ -12,12 +12,15 @@ do
then IS_INCLUDE="Y"
else IS_INCLUDE="N"
fi
# remove defines
if [ "$IS_INCLUDE" = "Y" ]
then cat "$FILE" | grep -v "^#if" | grep -v "^#else" |
grep -v "^#endif" | sed 's/->[a-zA-Z0-9_\.]*//g' >/tmp/$$a
else cat "$FILE" >/tmp/$$a
fi
# loop through all includes
cat /tmp/$$a | grep "^#include" |
sed 's/^#include[ ]*[<"]\([^>"]*\).*$/\1/g' |
while read INCLUDE
...
...
@@ -26,11 +29,14 @@ do
[ "$INCLUDE" = postgres.h ] && continue
[ "$INCLUDE" = config.h ] && continue
[ "$INCLUDE" = c.h ] && continue
# preserve configure-specific includes
# these includes are surrounded by #ifdef's
grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
egrep -q '^#if|^#else' && continue
grep -A1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
egrep -q '^#else|^#endif' && continue
cat /tmp/$$a |
grep -v '^#include[ ]*[<"]'"$INCLUDE"'[>"]' >/tmp/$$b
if [ "$IS_INCLUDE" = "Y" ]
...
...
@@ -50,12 +56,6 @@ do
if [ "$IS_INCLUDE" = "N" ]
then grep -v '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" >/tmp/$$b
mv /tmp/$$b "$FILE"
# reload after #include removal
if [ "$IS_INCLUDE" = "Y" ]
then cat "$FILE" | grep -v "^#if" | grep -v "^#else" |
grep -v "^#endif" | sed 's/->[a-zA-Z0-9_\.]*//g' >/tmp/$$a
else cat "$FILE" >/tmp/$$a
fi
fi
if [ "$1" = "-v" ]
then cat /tmp/$$
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录