当前位置:网站首页>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”形式的字符串 |
边栏推荐
- How do it students find short-term internships? Which is better, short-term internship or long-term internship?
- DDL basic operation
- GBase 8c系统表-pg_am
- Startup mode and scope builder of collaboration in kotlin
- Awk from getting started to being buried (2) understand the built-in variables and the use of variables in awk
- The Sandbox阐释对元宇宙平台的愿景
- Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
- [shutter] top navigation bar implementation (scaffold | defaulttabcontroller | tabbar | tab | tabbarview)
- Detailed introduction to the deployment and usage of the Nacos registry
- Restcloud ETL cross database data aggregation operation
猜你喜欢

MySQL学习03

Visualisation de l'ensemble de données au format yolov5 (fichier labelme json)

Create + register sub apps_ Define routes, global routes and sub routes

UDP receive queue and multiple initialization test

Button button adaptive size of wechat applet

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

easyPOI
![[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数](/img/06/ab333a4752de27eae2dd937cf579e2.png)
[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数

Memory pool (understand the process of new developing space from the perspective of kernel)
![[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
随机推荐
awk从入门到入土(3)awk内置函数printf和print实现格式化打印
苏世民:25条工作和生活原则
The sandbox explains its vision for the meta universe platform
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
Producer consumer model based on thread pool (including blocking queue)
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
GBase 8c系统表-pg_auth_members
Basic operation of view
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
CFdiv2-Fixed Point Guessing-(区间答案二分)
Servlet中数据传到JSP页面使用el表达式${}无法显示问题
Visual yolov5 format data set (labelme JSON file)
COM and cn
去除网页滚动条方法以及内外边距
QT qcombobox add qccheckbox (drop-down list box insert check box, including source code + comments)
SPI mechanism
5. File operation
《上市风云》荐书——唯勇气最可贵
Return the only different value (de duplication)
Startup mode and scope builder of collaboration in kotlin