当前位置:网站首页>GBase 8c系统表-pg_attribute
GBase 8c系统表-pg_attribute
2022-07-03 02:18:00 【大壮十二】
pg_attribute系统表存储关于表字段的信息。
名称 | 类型 | 引用 | 描述 |
attrelid | oid | pg_class.oid | 列所属的表 |
attname | name | 列名 | |
atttypid | oid | pg_type.oid | 列的数据类型 |
attstattarget | int4 | attstattarget控制由ANALYZE对此列收集的统计信息的细节层次。0值表示不会收集任何统计信息。一个负值则说明直接使用系统默认的目标。正值的确切含义取决于数据类型。对于标量数据类型,attstattarget既是要收集的“最常见值”的目标号,也是要创建的柱状图容器的目标号。 | |
attlen | int2 | 本列类型的pg_type.typlen一个拷贝 | |
attnum | int2 | 列的编号。一般列从1开始向上编号。系统列(如oid)则拥有(任意)负值编号。 | |
attndims | int4 | 如果该列是一个数组类型,这里就是其维度数;否则为0。(在目前一个数组的维度数并不被强制,因此任何非零值都能有效地表明“这是一个数组”。) | |
attcacheoff | int4 | 在存储中总是为-1,但是当被载入到一个内存中的行描述符后,这里可能会被更新为属性在行内的偏移 | |
atttypmod | int4 | atttypmod记录了在表创建时提供的类型相关数据(例如一个varchar列的最大长度)。它会被传递给类型相关的输入函数和长度强制函数。对于那些不需要atttypmod的类型,这个值通常总是为-1。 | |
attbyval | bool | 该列类型的pg_type.typbyval的一个拷贝 | |
attstorage | char | 通常是该列类型的pg_type.typstorage的一个拷贝。对于可TOAST的数据类型,这可以在列创建后被修改以控制存储策略。 | |
attalign | char | 该列类型的pg_type.typalign的一个拷贝 | |
attnotnull | bool | 这表示一个非空约束。 | |
atthasdef | bool | 该列有一个默认值,在此情况下在pg_attrdef目录中会有一个对应项来真正记录默认值。 | |
attidentity | char | 如果是零字节(''),则不是一个标识列。 否则,a = 总是生成的, d = 默认生成的。 | |
attisdropped | bool | 该列被删除且不再有效。一个删除的列仍然物理存在于表中,但是会被分析器忽略并因此无法通过SQL访问。 | |
attislocal | bool | 该列是由关系本地定义的。注意一个列可以同时是本地定义和继承的。 | |
attinhcount | int4 | 该列的直接祖先的编号。一个具有非零编号祖先的列不能被删除或者重命名。 | |
attcollation | oid | pg_collation.oid | 该列被定义的排序规则,如果该列不是一个可排序数据类型则为0。 |
attacl | aclitem[] | 列级访问权限 | |
attoptions | text[] | 属性级选项,以“keyword=value”形式的字符串 | |
attfdwoptions | text[] | 属性级的外部数据包装器选项,以“keyword=value”形式的字符串 |
边栏推荐
猜你喜欢

MySQL学习03

Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt

Detailed introduction to the usage of Nacos configuration center

awk从入门到入土(0)awk概述

Return a tree structure data

微信小程序開發工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理問題

How can retail enterprises open the second growth curve under the full link digital transformation

Use go language to realize try{}catch{}finally

easyExcel

easyExcel
随机推荐
Solution for processing overtime orders (Overtime unpaid)
Socket programming
COM and cn
easyExcel
Restcloud ETL cross database data aggregation operation
Trial setup and use of idea GoLand development tool
[Yu Yue education] reference materials of love psychology of China University of mining and technology
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
Iptables layer 4 forwarding
GBase 8c系统表-pg_amproc
机器学习流程与方法
Hard core observation 547 large neural network may be beginning to become aware?
Depth (penetration) selector:: v-deep/deep/ and > > >
深度学习笔记(持续更新中。。。)
awk从入门到入土(3)awk内置函数printf和print实现格式化打印
Basic operation of view
What are the key points often asked in the redis interview
stm32F407-------IIC通讯协议
Missing library while loading shared libraries: libisl so. 15: cannot open shared object file: No such file
返回一个树形结构数据