pg_attrdef
pg_catalog
模式中的 pg_attrdef
表用于存储列的默认值。关于列的主要信息存储在 pg_attribute
表中。只有在创建表或添加列时明确指定了默认值的列,才会在此表中有记录。
列名 | 类型 | 引用 | 描述 |
---|---|---|---|
oid | oid | 对象 ID | |
adrelid | oid | pg_class.oid | 该列所属的表 |
adnum | smallint | pg_attribute.attnum | 列的编号 |
adbin | pg_node_tree | 列默认值的内部表示 |
pg_catalog
模式中的 pg_attrdef
表用于存储列的默认值。关于列的主要信息存储在 pg_attribute
表中。只有在创建表或添加列时明确指定了默认值的列,才会在此表中有记录。
列名 | 类型 | 引用 | 描述 |
---|---|---|---|
oid | oid | 对象 ID | |
adrelid | oid | pg_class.oid | 该列所属的表 |
adnum | smallint | pg_attribute.attnum | 列的编号 |
adbin | pg_node_tree | 列默认值的内部表示 |
Apache Cloudberry is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
Copyright © 2025 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
Apache®, the names of Apache projects, and the feather logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.