当前位置:网站首页>Gbase 8C system table PG_ attribute
Gbase 8C system table PG_ attribute
2022-07-03 02:22:00 【Dazhuang twelve】
pg_attribute System tables store information about table fields .
name | type | quote | describe |
attrelid | oid | pg_class.oid | The table to which the column belongs |
attname | name | Name | |
atttypid | oid | pg_type.oid | The data type of the column |
attstattarget | int4 | attstattarget Control by ANALYZE The level of detail of the statistics collected for this column .0 Value means that no statistics will be collected . A negative value indicates that the default target of the system is directly used . The exact meaning of a positive value depends on the data type . For scalar data types ,attstattarget Is to collect “ The most common value ” Target number of , It is also the target number of the histogram container to be created . | |
attlen | int2 | Of this column type pg_type.typlen a copy | |
attnum | int2 | Number of columns . Generally, it is listed from 1 Start numbering up . System column ( Such as oid) You have ( arbitrarily ) Negative number . | |
attndims | int4 | If the column is an array type , Here is its dimension ; Otherwise 0.( At present, the number of dimensions of an array is not mandatory , Therefore, any non-zero value can effectively indicate “ This is an array ”.) | |
attcacheoff | int4 | In storage, it is always -1, But when it is loaded into a row descriptor in memory , Here it may be updated to the offset of the attribute in the row | |
atttypmod | int4 | atttypmod Records the type related data provided when the table is created ( For example, one varchar The maximum length of the column ). It will be passed to the type related input function and length constraint function . For those who don't need atttypmod The type of , This value is always -1. | |
attbyval | bool | Of this column type pg_type.typbyval A copy of | |
attstorage | char | Usually of this column type pg_type.typstorage A copy of . For can TOAST Data type of , This can be modified after the column is created to control the storage policy . | |
attalign | char | Of this column type pg_type.typalign A copy of | |
attnotnull | bool | This represents a non empty constraint . | |
atthasdef | bool | This column has a default value , In this case, in pg_attrdef There will be a corresponding entry in the directory to really record the default value . | |
attidentity | char | If it is zero bytes (''), Is not an identification column . otherwise ,a = Always generated , d = Default generated . | |
attisdropped | bool | The column has been deleted and is no longer valid . A deleted column still physically exists in the table , But it will be ignored by the analyzer and therefore cannot pass SQL visit . | |
attislocal | bool | This column is defined locally by the relationship . Note that a column can be both locally defined and inherited . | |
attinhcount | int4 | The number of the direct ancestor of this column . A column with non-zero numbered ancestors cannot be deleted or renamed . | |
attcollation | oid | pg_collation.oid | The sorting rules defined for this column , If the column is not a sortable data type, then 0. |
attacl | aclitem[] | Column level access | |
attoptions | text[] | Attribute level options , With “keyword=value” String of form | |
attfdwoptions | text[] | Attribute level external data wrapper options , With “keyword=value” String of form |
边栏推荐
- Coroutinecontext in kotlin
- require.context
- PyTorch 卷积网络正则化 DropBlock
- [Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor
- CFdiv2-Fixed Point Guessing-(区间答案二分)
- UDP receive queue and multiple initialization test
- Unrecognized SSL message, plaintext connection?
- 人脸识别6- face_recognition_py-基于OpenCV使用Haar级联与dlib库进行人脸检测及实时跟踪
- Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt
- 4. Classes and objects
猜你喜欢
Depth (penetration) selector:: v-deep/deep/ and > > >
Detailed analysis of micro service component sentinel (hystrix)
stm32F407-------ADC
UDP receive queue and multiple initialization test
[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)
Trial setup and use of idea GoLand development tool
[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)
《上市风云》荐书——唯勇气最可贵
[shutter] top navigation bar implementation (scaffold | defaulttabcontroller | tabbar | tab | tabbarview)
Deep learning notes (constantly updating...)
随机推荐
各国Web3现状与未来
【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
去除网页滚动条方法以及内外边距
微服务组件Sentinel (Hystrix)详细分析
机器学习流程与方法
Solution for processing overtime orders (Overtime unpaid)
awk从入门到入土(3)awk内置函数printf和print实现格式化打印
Recommendation letter of "listing situation" -- courage is the most valuable
《上市风云》荐书——唯勇气最可贵
javeScript 0.1 + 0.2 == 0.3的问题
通达OA 首页门户工作台
CFdiv2-Fixed Point Guessing-(区间答案二分)
require.context
[Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
GBase 8c系统表-pg_amproc
5. File operation
My creation anniversary
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
Return a tree structure data
力扣(LeetCode)183. 从不订购的客户(2022.07.02)