Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
6367ef62
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,体验更适合开发者的 AI 搜索 >>
提交
6367ef62
编写于
1月 05, 2016
作者:
A
Abhijit Subramanya
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove pg_appendonly_alter_column catalog table.
This table is not used anywhere in the code.
上级
954e604d
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
4 addition
and
179 deletion
+4
-179
gpMgmt/bin/gppylib/data/4.3.json
gpMgmt/bin/gppylib/data/4.3.json
+2
-89
gpMgmt/bin/lib/gpcheckcat
gpMgmt/bin/lib/gpcheckcat
+0
-1
src/backend/bootstrap/bootparse.y
src/backend/bootstrap/bootparse.y
+0
-1
src/backend/catalog/Makefile
src/backend/catalog/Makefile
+1
-1
src/backend/catalog/core/catcoregen.pl
src/backend/catalog/core/catcoregen.pl
+0
-1
src/include/catalog/catversion.h
src/include/catalog/catversion.h
+1
-1
src/include/catalog/indexing.h
src/include/catalog/indexing.h
+0
-3
src/include/catalog/pg_appendonly_alter_column.h
src/include/catalog/pg_appendonly_alter_column.h
+0
-80
src/include/catalog/tidycat.pl
src/include/catalog/tidycat.pl
+0
-2
未找到文件。
gpMgmt/bin/gppylib/data/4.3.json
浏览文件 @
6367ef62
{
"__comment"
:
"Generated by tidycat.pl version 34 on
Wed Jan 6 14:37:36 2016 CATALOG_VERSION_NO=30160106
1"
,
"__comment"
:
"Generated by tidycat.pl version 34 on
Thu Jan 7 17:03:10 2016 CATALOG_VERSION_NO=30160105
1"
,
"__info"
:
{
"CATALOG_VERSION_NO"
:
"3016010
6
1"
"CATALOG_VERSION_NO"
:
"3016010
5
1"
},
"gp_configuration"
:
{
"CamelCaseRelationId"
:
"GpConfigurationRelationId"
,
...
...
@@ -2451,93 +2451,6 @@
"text"
:
"with (camelcase=AppendOnly, oid=false, relid=6105)"
}
},
"pg_appendonly_alter_column"
:
{
"CamelCaseRelationId"
:
"AppendOnlyAlterColumnRelationId"
,
"colh"
:
{
"changenum"
:
"int4"
,
"highwaterrownums"
:
"bytea"
,
"relid"
:
"Oid"
,
"segfilenums"
:
"int4[1]"
},
"cols"
:
[
{
"colname"
:
"relid"
,
"ctype"
:
"Oid"
,
"precomment"
:
"
\n
**TK_BLANK_LINE**"
,
"sqltype"
:
"oid"
},
{
"colname"
:
"changenum"
,
"ctype"
:
"int4"
,
"sqltype"
:
"integer"
},
{
"colname"
:
"segfilenums"
,
"ctype"
:
"int4[1]"
,
"sqltype"
:
"integer[]"
},
{
"colname"
:
"highwaterrownums"
,
"ctype"
:
"bytea"
,
"sqltype"
:
"bytea"
}
],
"filename"
:
"pg_appendonly_alter_column.h"
,
"fk_list"
:
[
{
"fkcols"
:
[
"relid"
],
"pkcols"
:
[
"oid"
],
"pktable"
:
"pg_class"
,
"type"
:
"scalar"
}
],
"foreign_keys"
:
[
[
[
"relid"
],
"pg_class"
,
[
"oid"
]
]
],
"indexes"
:
[
{
"CamelCaseIndexId"
:
"AppendOnlyAlterColumnRelidIndexId"
,
"cols"
:
[
[
"relid"
,
"oid_ops"
],
[
"changenum"
,
"int4_ops"
]
],
"indexid"
:
"5031"
,
"unique"
:
"1"
,
"with"
:
{
"camelcase"
:
"AppendOnlyAlterColumnRelid"
,
"indexid"
:
"5031"
}
}
],
"relid_comment_tag"
:
"/* relation id: 6110 - pg_appendonly_alter_column */
\n
"
,
"tabdef_text"
:
"
\n
CREATE TABLE pg_appendonly_alter_column
\n
with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110)
\n
(
\n
relid oid,
\n
changenum integer,
\n
segfilenums integer[],
\n
highwaterrownums bytea
\n
)"
,
"with"
:
{
"bootstrap"
:
0
,
"camelcase"
:
"AppendOnlyAlterColumn"
,
"oid"
:
""
,
"relid"
:
"6110"
,
"shared"
:
0
,
"text"
:
"with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110)"
}
},
"pg_attrdef"
:
{
"CamelCaseRelationId"
:
"AttrDefaultRelationId"
,
"CamelCaseToastInd"
:
"PgAttrDefaultToastIndex"
,
...
...
gpMgmt/bin/lib/gpcheckcat
浏览文件 @
6367ef62
...
...
@@ -3904,7 +3904,6 @@ TableMainColumn['pg_aggregate'] = ['aggfnoid','pg_proc']
TableMainColumn
[
'pg_amop'
]
=
[
'amopclaid'
,
'pg_opclass'
]
TableMainColumn
[
'pg_amproc'
]
=
[
'amopclaid'
,
'pg_opclass'
]
TableMainColumn
[
'pg_appendonly'
]
=
[
'relid'
,
'pg_class'
]
TableMainColumn
[
'pg_appendonly_alter_column'
]
=
[
'relid'
,
'pg_class'
]
TableMainColumn
[
'pg_attribute'
]
=
[
'attrelid'
,
'pg_class'
]
TableMainColumn
[
'pg_attribute_encoding'
]
=
[
'attrelid'
,
'pg_class'
]
TableMainColumn
[
'pg_auth_member'
]
=
[
'roleid'
,
'pg_authid'
]
...
...
src/backend/bootstrap/bootparse.y
浏览文件 @
6367ef62
...
...
@@ -35,7 +35,6 @@
#include "catalog/gp_segment_config.h"
#include "catalog/heap.h"
#include "catalog/pg_am.h"
#include "catalog/pg_appendonly_alter_column.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_authid.h"
#include "catalog/pg_auth_members.h"
...
...
src/backend/catalog/Makefile
浏览文件 @
6367ef62
...
...
@@ -68,7 +68,7 @@ POSTGRES_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/, \
gp_configuration.h gp_id.h gp_policy.h gp_version.h
\
gp_segment_config.h gp_san_config.h
\
pg_window.h
\
pg_exttable.h pg_appendonly.h
pg_appendonly_alter_column.h
aoseg.h
\
pg_exttable.h pg_appendonly.h aoseg.h
\
gp_fastsequence.h pg_extprotocol.h
\
pg_partition.h pg_partition_rule.h pg_filespace.h pg_filespace_entry.h
\
gp_global_sequence.h gp_persistent.h
\
...
...
src/backend/catalog/core/catcoregen.pl
浏览文件 @
6367ef62
...
...
@@ -137,7 +137,6 @@ print <<"END_MESSAGE";
#include "catalog/pg_amop.h"
#include "catalog/pg_amproc.h"
#include "catalog/pg_appendonly.h"
#include "catalog/pg_appendonly_alter_column.h"
#include "catalog/pg_attrdef.h"
#include "catalog/pg_auth_members.h"
#include "catalog/pg_authid.h"
...
...
src/include/catalog/catversion.h
浏览文件 @
6367ef62
...
...
@@ -56,6 +56,6 @@
*/
/* 3yyymmddN */
#define CATALOG_VERSION_NO 3016010
6
1
#define CATALOG_VERSION_NO 3016010
5
1
#endif
src/include/catalog/indexing.h
浏览文件 @
6367ef62
...
...
@@ -221,9 +221,6 @@ DECLARE_UNIQUE_INDEX(pg_appendonly_relid_index, 5007, on pg_appendonly using btr
DECLARE_UNIQUE_INDEX
(
gp_fastsequence_objid_objmod_index
,
6067
,
on
gp_fastsequence
using
btree
(
objid
oid_ops
,
objmod
int8_ops
));
#define FastSequenceObjidObjmodIndexId 6067
DECLARE_UNIQUE_INDEX
(
pg_appendonly_alter_column_relid_index
,
5031
,
on
pg_appendonly_alter_column
using
btree
(
relid
oid_ops
,
changenum
int4_ops
));
#define AppendOnlyAlterColumnRelidIndexId 5031
DECLARE_UNIQUE_INDEX
(
gp_relation_node_index
,
5095
,
on
gp_relation_node
using
btree
(
relfilenode_oid
oid_ops
,
segment_file_num
int4_ops
));
#define GpRelationNodeOidIndexId 5095
...
...
src/include/catalog/pg_appendonly_alter_column.h
已删除
100755 → 0
浏览文件 @
954e604d
/*-------------------------------------------------------------------------
*
* pg_appendonly_alter_column.h
* Internal specifications of the pg_appendonly_alter_column relation storage.
*
* Copyright (c) 2008-2010, Greenplum Inc.
*-------------------------------------------------------------------------
*/
#ifndef PG_APPENDONLY_ALTER_COLUMN_H
#define PG_APPENDONLY_ALTER_COLUMN_H
#include "catalog/genbki.h"
/*
* pg_appendonly_alter_column definition.
*/
/* TIDYCAT_BEGINFAKEDEF
CREATE TABLE pg_appendonly_alter_column
with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110)
(
relid oid,
changenum integer,
segfilenums integer[],
highwaterrownums bytea
);
create unique index on pg_appendonly_alter_column(relid, changenum) with (indexid=5031, CamelCase=AppendOnlyAlterColumnRelid);
alter table pg_appendonly_alter_column add fk relid on pg_class(oid);
TIDYCAT_ENDFAKEDEF
*/
#define AppendOnlyAlterColumnRelationId 6110
CATALOG
(
pg_appendonly_alter_column
,
6110
)
BKI_WITHOUT_OIDS
{
Oid
relid
;
/* relation id */
/*
* The change number for the ALTER TABLE ADD/DROP
* COLUMN operation. Starts at 1.
*/
int4
changenum
;
/*
* THE REST OF THESE ARE VARIABLE LENGTH FIELDS.
* They cannot be accessed as C struct entries; you have to use
* the full field access machinery (heap_getattr) for them. We declare
* them here for the catalog machinery.
*/
/* The array of int4 segment file numbers for the highwater row numbers. */
int4
segfilenums
[
1
];
/*
* The array of int64 row numbers that are the logical end of the segment
* files. Unfortunately, we cannot properly represent it as an array of
* int8 or float8, so we use raw bytes.
*/
bytea
highwaterrownums
;
}
FormData_pg_appendonly_alter_column
;
/* ----------------
* Form_pg_appendonly corresponds to a pointer to a tuple with
* the format of pg_appendonly relation.
* ----------------
*/
typedef
FormData_pg_appendonly_alter_column
*
Form_pg_appendonly_alter_column
;
#define Natts_pg_appendonly_alter_column 4
#define Anum_pg_appendonly_alter_column_relid 1
#define Anum_pg_appendonly_alter_column_changenum 2
#define Anum_pg_appendonly_alter_column_segfilenums 3
#define Anum_pg_appendonly_alter_column_highwaterrownums 4
#endif
/* PG_APPENDONLY_ALTER_COLUMN_H */
src/include/catalog/tidycat.pl
浏览文件 @
6367ef62
...
...
@@ -389,7 +389,6 @@ my %toast_tab_exception_h =
"
gp_version_at_initdb
"
=>
1
,
"
pg_aggregate
"
=>
1
,
"
pg_appendonly
"
=>
1
,
"
pg_appendonly_alter_column
"
=>
1
,
"
pg_class
"
=>
1
,
"
pg_exttable
"
=>
1
,
"
pg_index
"
=>
1
,
...
...
@@ -413,7 +412,6 @@ my %allfiles_exception_h =
"
pg_amproc.h
"
=>
1
,
"
pg_aoseg.h
"
=>
1
,
"
pg_appendonly.h
"
=>
1
,
"
pg_appendonly_alter_column.h
"
=>
1
,
"
pg_attrdef.h
"
=>
1
,
"
pg_attribute.h
"
=>
1
,
"
pg_auth_members.h
"
=>
1
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录