# GS_SYSTEM_OBJECTS_VERSION
GS_SYSTEM_OBJECTS_VERSION记录了系统对象的版本号信息，用于在升级中判断变更及新增的系统对象，从而更新系统对象定义或创建系统对象。
此系统表中写入的系统对象类型包含视图、函数、表、索引、类型、规则及类型转换关系CAST。
表1GS_SYSTEM_OBJECTS_VERSION字段 
| 名称           | 类型    | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|:---|:---|:---|
| obj_id       | oid   | 系统对象的标识符，不同类型系统对象的对应关系如下： 视图、表、索引在[PG_CLASS](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0976.html)内的唯一标识，类型、函数、规则、类型转换关系CAST分别在[PG_TYPE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1022.html)、[PG_PROC](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1004.html)、[PG_REWRITE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1008.html)、[PG_CAST](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0975.html)内的唯一标识。                                                                                                                                                                                                                                                                                                                                         |
| obj_type    | char  | 系统对象的类型。 - v：标识视图。  - f：标识函数。  - r：标识普通表。  - i：标识索引。  - c：标识复合类型。  - d：标识域类型。  - R：标识规则。  - C：标识类型转换。   |
| obj_version | int8 | 系统对象的版本号。 0：初始版本号。 -1：已删除对象的版本号。 其他版本号为后续对象变更的版本号。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
   
