当前位置:网站首页>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”形式的字符串 |
边栏推荐
- Tongda OA V12 process center
- Awk from entry to burial (1) awk first meeting
- GBase 8c 函数/存储过程参数(二)
- 线程安全的单例模式
- 单词单词单词
- SPI mechanism
- Hard core observation 547 large neural network may be beginning to become aware?
- Wechat applet development tool post net:: err_ PROXY_ CONNECTION_ Failed agent problem
- Unrecognized SSL message, plaintext connection?
- Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
猜你喜欢

The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
![[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)](/img/66/0fda43da0d36fc0c9277ca86ece252.jpg)
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)

Depth (penetration) selector:: v-deep/deep/ and > > >

SPI mechanism

Detailed analysis of micro service component sentinel (hystrix)

Job object of collaboration in kotlin

Distributed transaction solution
![[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor](/img/06/ab333a4752de27eae2dd937cf579e2.png)
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor

Stm32f407 ------- IIC communication protocol

Redis: simple use of redis
随机推荐
What are MySQL locks and classifications
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)
The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
详细些介绍如何通过MQTT协议和华为云物联网进行通信
Distributed transaction solution
Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt
502 (bad gateway) causes and Solutions
苏世民:25条工作和生活原则
MySQL learning 03
Create + register sub apps_ Define routes, global routes and sub routes
iptables 4层转发
stm32F407-------ADC
Tongda OA homepage portal workbench
File class (check)
内存池(内核角度理解new开辟空间的过程)
缺少库while loading shared libraries: libisl.so.15: cannot open shared object file: No such file
Restcloud ETL cross database data aggregation operation
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
awk从入门到入土(1)awk初次会面
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor